Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

IDecider Class Reference

List of all members.

Detailed Description

Entity decider (AI) interface.

Entity logic happens through it's decider - each entity has a decider that gets called at some times (based on counter). A decider should do entity logic (eg. alter it's velocity, size, color, sprite, kill it) and set a new counter value.

Deciders can be shared accross many entities.

See also:
CGameEntity.


Public Methods

virtual void decideFor (CMyEntity &e) const=0
 Perform logic for an entity.


Member Function Documentation

virtual void IDecider::decideFor CMyEntity   e const [pure virtual]
 

Perform logic for an entity.

Parameters:
e  The entity.


Generated on Thu Dec 5 17:27:58 2002 for LT Game Jam Session by doxygen1.2.17