My Project
Public Types | Public Member Functions | List of all members
ParaEngine::CAIBase Class Referenceabstract

base class for all AI objects More...

#include <AIBase.h>

Inheritance diagram for ParaEngine::CAIBase:
ParaEngine::CAIModuleNPC

Public Types

enum  AIObjectType { BASE = 0, NPC, UNDEFINED }
 

Public Member Functions

virtual AIObjectType GetType ()
 
 CAIBase (CBipedObject *pBiped)
 
CBipedObjectGetBiped ()
 get the biped, to which this biped controller is associated. More...
 
void SetBiped (CBipedObject *pBiped)
 Set the biped, to which this biped controller is associated. More...
 
virtual void FrameMove (float fDeltaTime)=0
 a virtual function which is called every frame to process the controller. More...
 

Detailed Description

base class for all AI objects

Member Enumeration Documentation

§ AIObjectType

Enumerator
NPC 

base class never used directly

UNDEFINED 

NPC.

undefined

Member Function Documentation

§ FrameMove()

virtual void ParaEngine::CAIBase::FrameMove ( float  fDeltaTime)
pure virtual

a virtual function which is called every frame to process the controller.

Parameters
fDeltaTimethe time elapsed since the last frame move is called.
pInputIt holds any information that is perceived by a Active Biped object

Implemented in ParaEngine::CAIModuleNPC.

§ GetBiped()

CBipedObject * CAIBase::GetBiped ( )

get the biped, to which this biped controller is associated.

§ SetBiped()

void CAIBase::SetBiped ( CBipedObject pBiped)

Set the biped, to which this biped controller is associated.


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