Night Sky Engine
A fighting game framework made in Unreal Engine
Loading...
Searching...
No Matches
ANightSkyAIController Class Reference

#include <NightSkyAIController.h>

Inheritance diagram for ANightSkyAIController:

Public Member Functions

 ANightSkyAIController ()
 
void Update ()
 
void ResetParams ()
 
bool SetInputs ()
 
int32 GetEnemyDistanceX () const
 
int32 GetEnemyDistanceY () const
 
int32 CheckBasicWeight (const UState *State) const
 
int32 CheckAttackWeight (const UState *State) const
 
int32 CheckDefenseWeight (const UState *State)
 

Public Attributes

TObjectPtr< APlayerObjectPlayer = nullptr
 
TObjectPtr< ANightSkyGameStateGameState = nullptr
 

Protected Member Functions

virtual void BeginPlay () override
 

Detailed Description

Definition at line 15 of file NightSkyAIController.h.

Constructor & Destructor Documentation

◆ ANightSkyAIController()

ANightSkyAIController::ANightSkyAIController ( )

Definition at line 11 of file NightSkyAIController.cpp.

Member Function Documentation

◆ BeginPlay()

void ANightSkyAIController::BeginPlay ( )
overrideprotectedvirtual

Definition at line 18 of file NightSkyAIController.cpp.

◆ CheckAttackWeight()

int32 ANightSkyAIController::CheckAttackWeight ( const UState * State) const

Definition at line 262 of file NightSkyAIController.cpp.

◆ CheckBasicWeight()

int32 ANightSkyAIController::CheckBasicWeight ( const UState * State) const

Definition at line 165 of file NightSkyAIController.cpp.

◆ CheckDefenseWeight()

int32 ANightSkyAIController::CheckDefenseWeight ( const UState * State)

Definition at line 345 of file NightSkyAIController.cpp.

◆ GetEnemyDistanceX()

int32 ANightSkyAIController::GetEnemyDistanceX ( ) const

Definition at line 153 of file NightSkyAIController.cpp.

◆ GetEnemyDistanceY()

int32 ANightSkyAIController::GetEnemyDistanceY ( ) const

Definition at line 159 of file NightSkyAIController.cpp.

◆ ResetParams()

void ANightSkyAIController::ResetParams ( )

Definition at line 124 of file NightSkyAIController.cpp.

◆ SetInputs()

bool ANightSkyAIController::SetInputs ( )

Definition at line 133 of file NightSkyAIController.cpp.

◆ Update()

void ANightSkyAIController::Update ( )

Definition at line 25 of file NightSkyAIController.cpp.

Member Data Documentation

◆ GameState

TObjectPtr<ANightSkyGameState> ANightSkyAIController::GameState = nullptr

Definition at line 26 of file NightSkyAIController.h.

◆ Player

TObjectPtr<APlayerObject> ANightSkyAIController::Player = nullptr

Definition at line 24 of file NightSkyAIController.h.


The documentation for this class was generated from the following files: