ForceUnit Class Reference
[Engine Module]

#include <forceunit.h>

Inheritance diagram for ForceUnit:

Unit Root Flagged8 MessageReceiver< ActionEvent > MessageReceiver< StateEvent > MessageReceiver< InputEvent > MessageReceiver< PathResponse > Object TreeNode< Root > Referenced Flagged< Type > Counted Serialized List< Root > ListNode< Root >

List of all members.

Public Member Functions

 ForceUnit (const char *id)
bool CanHideToUnit (const Unit *unit, bool write_msg) const
virtual void OnMessage (ActionEvent *pevent)
virtual void OnMessage (StateEvent *pevent)

Protected Member Functions

bool StartHiding (Unit *unit)
virtual void StopAction ()
virtual bool SetModel (const string &model_id, byte_t num_id)
virtual bool ActivateModel (ModelType model)

Protected Attributes

byte_t models [MODEL_COUNT][MapEnums::DIRECTION_COUNT]
Ref< Unithider

Constructor & Destructor Documentation

ForceUnit::ForceUnit ( const char *  id  ) 


Member Function Documentation

bool ForceUnit::CanHideToUnit ( const Unit unit,
bool  write_msg 
) const

void ForceUnit::OnMessage ( ActionEvent pevent  )  [virtual]

Reimplemented from Unit.

void ForceUnit::OnMessage ( StateEvent pevent  )  [virtual]

Reimplemented from Unit.

bool ForceUnit::StartHiding ( Unit unit  )  [protected]

void ForceUnit::StopAction (  )  [protected, virtual]

Reimplemented from Unit.

bool ForceUnit::SetModel ( const string &  model_id,
byte_t  num_id 
) [protected, virtual]

Reimplemented from Unit.

bool ForceUnit::ActivateModel ( ModelType  model  )  [protected, virtual]

Reimplemented from Unit.

Member Data Documentation

byte_t ForceUnit::models[MODEL_COUNT][MapEnums::DIRECTION_COUNT] [protected]

Ref<Unit> ForceUnit::hider [protected]

The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:31 2007 for Dark Oberon by  doxygen 1.5.3