Public Member Functions | Public Attributes

CBoss Class Reference

Inherited by GhostBoss, MelchiorBoss, and PatternBoss.

List of all members.

Public Member Functions

 CBoss ()
void SetId (uint id)
void AddAttack (IAttack@ attack, int chance, int timeBeforeAttack, int timeAfterAttack)
void AddCritter (Critter& crit)
void MakeAgressive ()
void startAttack ()
void commenceAttack ()
void finishAttack ()
void aggressionStart ()
void bossSee (Critter& cr, Critter& shownCr)
bool bossAttacked (Critter& cr, Critter& attacker)
void bossHit (Critter& cr, Critter@ attacker, int dmg)
void bossKilled (Critter& cr, Critter@ attacker)
void bossFinish (Critter& cr, bool deleted)

Public Attributes

uint id
uint timeEvent
array< uint > critterList
array< IAttack@> attacks
array< int > attackChances
int totalChance
uint currentAttack
array< int > attackPrepareTimes
array< int > attackRecuperations
bool patern

Constructor & Destructor Documentation

CBoss (  ) 

Member Function Documentation

void SetId ( uint  id  ) 
void AddAttack ( IAttack attack,
int  chance,
int  timeBeforeAttack,
int  timeAfterAttack 
)
void AddCritter ( Critter crit  ) 
void MakeAgressive (  ) 
void startAttack (  ) 
void commenceAttack (  ) 
void finishAttack (  ) 
void aggressionStart (  ) 

Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.

void bossSee ( Critter cr,
Critter shownCr 
)

Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.

bool bossAttacked ( Critter cr,
Critter attacker 
)

Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.

void bossHit ( Critter cr,
Critter attacker,
int  dmg 
)

Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.

void bossKilled ( Critter cr,
Critter attacker 
)

Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.

void bossFinish ( Critter cr,
bool  deleted 
)

Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.


Member Data Documentation

uint id
uint timeEvent
array<uint> critterList
array<IAttack@> attacks
array<int> attackChances
array<int> attackPrepareTimes
array<int> attackRecuperations
bool patern