updated AI controllers to have a new base AI controller
This commit is contained in:
@ -13,7 +13,15 @@ UCLASS()
|
||||
class HWANYOUNG2_API AHYAIController : public AAIController
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
public:
|
||||
AHYAIController();
|
||||
|
||||
//protected:
|
||||
// virtual void SetGenericTeamId(const FGenericTeamId& NewTeamID);
|
||||
// virtual FGenericTeamId GetGenericTeamId() const;
|
||||
};
|
||||
|
@ -58,6 +58,15 @@ void Ahwanyoung2Character::BeginPlay()
|
||||
|
||||
}
|
||||
|
||||
//void Ahwanyoung2Character::SetGenericTeamId(const FGenericTeamId& NewTeamID)
|
||||
//{
|
||||
//}
|
||||
//
|
||||
//FGenericTeamId Ahwanyoung2Character::GetGenericTeamId() const
|
||||
//{
|
||||
// return FGenericTeamId();
|
||||
//}
|
||||
|
||||
void Ahwanyoung2Character::CheckForInteractables()
|
||||
{
|
||||
// Creates a LineTrace (similar to RayCast) to check for a hit
|
||||
|
@ -5,13 +5,14 @@
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/Character.h"
|
||||
#include "InputAction.h"
|
||||
//#include "AIModule/Classes/GenericTeamAgentInterface.h"
|
||||
#include "hwanyoung2.h"
|
||||
#include "Components/SphereComponent.h"
|
||||
#include "hwanyoung2Character.generated.h"
|
||||
|
||||
|
||||
UCLASS(config=Game)
|
||||
class Ahwanyoung2Character : public ACharacter
|
||||
class Ahwanyoung2Character : public ACharacter/*, public UGenericTeamAgentInterface*/
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
@ -114,5 +115,8 @@ protected:
|
||||
// To add mapping context
|
||||
virtual void BeginPlay();
|
||||
|
||||
/*virtual void SetGenericTeamId(const FGenericTeamId& NewTeamID);
|
||||
virtual FGenericTeamId GetGenericTeamId() const;*/
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user