Cleaned up code per lesson 108

This commit is contained in:
2025-10-16 16:52:48 -04:00
parent d436c459ec
commit d5b1691a22
41 changed files with 6986 additions and 6959 deletions

View File

@@ -15,6 +15,7 @@ struct FInputActionValue;
class IEnemyInterface;
class UAuraAbilitySystemComponent;
class USplineComponent;
/**
*
*/
@@ -42,11 +43,12 @@ private:
void CursorTrace();
IEnemyInterface* LastActor;
IEnemyInterface* ThisActor;
FHitResult CursorHit;
void AbilityInputTagPressed(FGameplayTag InputTag);
void AbilityInputTagReleased(FGameplayTag InputTag);
void AbilityInputTagHeld(FGameplayTag InputTag);
void AutoRun();
UPROPERTY()
TObjectPtr<UAuraAbilitySystemComponent> AuraAbilitySystemComponent;
@@ -58,7 +60,7 @@ private:
//Click to move
FVector CachedDestination = FVector::ZeroVector;
float FollowTime = 0.0f;
float ShortPressedThreshhold = 0.5f;
float ShortPressThreshold = 0.5f;
bool bAutoRunning = false;
bool bTargeting = false;