37 lines
713 B
C++
37 lines
713 B
C++
// Assets provided by DruidMechanics. Copyright Jonathan Rampersad 2024
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "AuraCharacterBase.h"
|
|
#include "AuraCharacter.generated.h"
|
|
|
|
class USpringArmComponent;
|
|
class UCameraComponent;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class AURA_API AAuraCharacter : public AAuraCharacterBase
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
private:
|
|
UPROPERTY(EditAnywhere, Category=Camera)
|
|
TObjectPtr<USpringArmComponent> CameraBoom;
|
|
|
|
UPROPERTY(EditAnywhere, Category=Camera)
|
|
TObjectPtr<UCameraComponent> Camera;
|
|
|
|
public:
|
|
AAuraCharacter();
|
|
virtual void PossessedBy(AController* NewController) override;
|
|
virtual void OnRep_PlayerState() override;
|
|
|
|
private:
|
|
void InitAbilityActorInfo();
|
|
|
|
void InitHUD() const;
|
|
};
|