Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

simulation
Class CAggressStance

CStance
   |
   +--CAggressStance

   in Stance.h
   in Stance.cpp

class CAggressStance
extends CStance

Aggressive stance: The unit will attack any enemy it sees and pursue it indefinitely.


 
Fields inherited from class CStance
m_Entity
 
Constructor Summary
CAggressStance( CEntity* ent )
          
virtual ~CAggressStance()
          
 
Method Summary
 virtual bool AllowsMovement()
          
 virtual bool CheckMovement( CVector2D UNUSED( proposedPos ) )
          
 virtual void OnDamaged( CEntity* source )
          
 virtual void OnIdle()
          
   
Methods inherited from class CStance
OnIdle, OnDamaged, AllowsMovement, CheckMovement
 

Constructor Detail

CAggressStance

public CAggressStance( CEntity* ent );

~CAggressStance

public virtual ~CAggressStance();


Method Detail

AllowsMovement

public virtual bool AllowsMovement();

CheckMovement

public virtual bool CheckMovement( CVector2D UNUSED( proposedPos ) );

OnDamaged

public virtual void OnDamaged( CEntity* source );

OnIdle

public virtual void OnIdle();

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD