deAISystem Class Reference

AI System. More...

#include <deAISystem.h>

Inheritance diagram for deAISystem:
deBaseSystem

List of all members.

Public Member Functions

Constructors and Destructors
 deAISystem (deEngine *engine)
 Creates a new ai system linked to the given engine.
virtual ~deAISystem ()
 Cleans up the ai system.
Management
deBaseAIModuleGetActiveModule () const
 Retrieves the activated graphic module.
void LoadAI (deAI *ai)
 Creates the peer object for the given ai using the active module and assigns it.
Overloadables
virtual void SetActiveModule (deLoadableModule *module)
 Sets the active loadable module.
virtual void ClearPermanents ()
 Clears cross references and links that could lead to memory leaks.
virtual void PostStart ()
 Carry out here actions right after the system started up.
virtual void PreStop ()
 Carry out here actions right before the system shuts down.

Detailed Description

AI System.

The ai system is a single type system providing ai support for the engine. An ai module is able to carry out the actions stored in an ai object.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deAISystem::deAISystem ( deEngine engine )

Creates a new ai system linked to the given engine.

virtual deAISystem::~deAISystem (  ) [virtual]

Cleans up the ai system.


Member Function Documentation

virtual void deAISystem::ClearPermanents (  ) [virtual]

Clears cross references and links that could lead to memory leaks.

Do not forget to call the super function.

Reimplemented from deBaseSystem.

deBaseAIModule* deAISystem::GetActiveModule (  ) const [inline]

Retrieves the activated graphic module.

void deAISystem::LoadAI ( deAI ai )

Creates the peer object for the given ai using the active module and assigns it.

virtual void deAISystem::PostStart (  ) [virtual]

Carry out here actions right after the system started up.

Reimplemented from deBaseSystem.

virtual void deAISystem::PreStop (  ) [virtual]

Carry out here actions right before the system shuts down.

Reimplemented from deBaseSystem.

virtual void deAISystem::SetActiveModule ( deLoadableModule module ) [virtual]

Sets the active loadable module.

Do not forget to call the super function.

Reimplemented from deBaseSystem.


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