mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-22 08:03:45 +00:00
expose the AIPlayerControllerData subtype to console
This commit is contained in:
parent
8c663a19a5
commit
19e73c0be2
2 changed files with 6 additions and 1 deletions
|
|
@ -389,6 +389,7 @@ void AIControllerData::initPersistFields()
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
IMPLEMENT_CO_DATABLOCK_V1(AIPlayerControllerData);
|
||||
void AIPlayerControllerData::resolvePitch(AIController* obj, Point3F location, Move* movePtr)
|
||||
{
|
||||
Player* po = dynamic_cast<Player*>(obj->getAIInfo()->mObj.getPointer());
|
||||
|
|
|
|||
|
|
@ -147,9 +147,13 @@ public:
|
|||
void resolveStuck(AIController* obj);
|
||||
};
|
||||
|
||||
class AIPlayerControllerData : AIControllerData
|
||||
class AIPlayerControllerData : public AIControllerData
|
||||
{
|
||||
typedef AIControllerData Parent;
|
||||
|
||||
public:
|
||||
void resolvePitch(AIController* obj, Point3F location, Move* movePtr);
|
||||
DECLARE_CONOBJECT(AIPlayerControllerData);
|
||||
};
|
||||
#endif // TORQUE_NAVIGATION_ENABLED
|
||||
#endif //_AICONTROLLER_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue