Inherited by GhostBoss, MelchiorBoss, and PatternBoss.
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 |
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 | ( | ) |
Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.
Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.
Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.
Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.
Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.
void bossFinish | ( | Critter& | cr, | |
bool | deleted | |||
) |
Reimplemented in MelchiorBoss, GhostBoss, and PatternBoss.
uint id |
uint timeEvent |
array<uint> critterList |
array<int> attackChances |
int totalChance |
uint currentAttack |
array<int> attackPrepareTimes |
array<int> attackRecuperations |
bool patern |