Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also on wotlk changed NULL in file to nullptr
- Loading branch information
1 parent
8445563
commit fe88336
Showing
6 changed files
with
75 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "AI/BaseAI/GameObjectAI.h" | ||
#include "Entities/GameObject.h" | ||
|
||
|
||
GameObjectAI::GameObjectAI(GameObject* go) : m_go(go) | ||
{ | ||
} | ||
|
||
|
||
GameObjectAI::~GameObjectAI() | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef DEF_GAMEOBJECT_AI_H | ||
#define DEF_GAMEOBJECT_AI_H | ||
|
||
#include "Platform/Define.h" | ||
|
||
class GameObject; | ||
|
||
class GameObjectAI | ||
{ | ||
public: | ||
explicit GameObjectAI(GameObject* go); | ||
virtual ~GameObjectAI(); | ||
|
||
virtual void UpdateAI(const uint32 /*diff*/) {} | ||
|
||
protected: | ||
GameObject* m_go; | ||
}; | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters