Updated TurnBaseCombat for Keyboard Hotkeys
Crit Feedback
This commit is contained in:
parent
c6cba80a07
commit
06492d69d5
BIN
Content/Blueprints/Combat_UI/CombatCharacterRT.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/CombatCharacterRT.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/Combat_UI.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/Combat_UI.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/Combat_UI_RT.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/Combat_UI_RT.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/RealTimeCombatTest.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/RealTimeCombatTest.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/__RealTime/CombatCharacterRT.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Blueprints/Combat_UI/__RealTime/CombatCharacterRT.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/__RealTime/Combat_UI_RT.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Blueprints/Combat_UI/__RealTime/Combat_UI_RT.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/__RealTime/RealTimeCombatTest.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Blueprints/Combat_UI/__RealTime/RealTimeCombatTest.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -43,6 +43,16 @@ void ATurnBaseCombatV2::EndCombat()
|
||||
PlayerPawn->bUseControllerRotationPitch = true;
|
||||
}
|
||||
|
||||
void ATurnBaseCombatV2::FKeyPressed()
|
||||
{
|
||||
FButtonOnClick();
|
||||
}
|
||||
|
||||
void ATurnBaseCombatV2::WKeyPressed()
|
||||
{
|
||||
WButtonOnClick();
|
||||
}
|
||||
|
||||
void ATurnBaseCombatV2::BeginPlay()
|
||||
{
|
||||
Super::BeginPlay();
|
||||
|
@ -16,7 +16,7 @@ class THE_TWILIGHT_ABYSS_API ATurnBaseCombatV2 : public AGameStateBase
|
||||
|
||||
public:
|
||||
ATurnBaseCombatV2();
|
||||
|
||||
|
||||
UPROPERTY(EditDefaultsOnly)
|
||||
int PlayerHealth = 100;
|
||||
UPROPERTY(EditDefaultsOnly)
|
||||
@ -59,6 +59,10 @@ public:
|
||||
void StartCombat(AActor* Enemy);
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void EndCombat();
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void FKeyPressed();
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void WKeyPressed();
|
||||
|
||||
protected:
|
||||
virtual void BeginPlay() override;
|
||||
|
Loading…
Reference in New Issue
Block a user