#include <dungeon_creature.h>
Public Member Functions | |
DungeonCreature (Game *game, MapBase *map) | |
DungeonCreature (Game *game, MapBase *map, int hitPoints) | |
~DungeonCreature () override | |
virtual bool | isBlockingView () const =0 |
virtual void | draw (DungeonSurface &s, uint distance)=0 |
Public Member Functions inherited from Ultima::Shared::Maps::Creature | |
Creature (Game *game, MapBase *) | |
Creature (Game *game, MapBase *, int hitPoints) | |
virtual | ~Creature () |
void | synchronize (Common::Serializer &s) |
virtual void | update (bool isPreUpdate) |
bool | isDead () const |
virtual bool | subtractHitPoints (uint amount) |
Additional Inherited Members | |
Protected Member Functions inherited from Ultima::Shared::Maps::Creature | |
virtual uint | attackDistance () const |
virtual void | movement () |
virtual void | attackParty () |
Protected Attributes inherited from Ultima::Shared::Maps::Creature | |
int | _hitPoints |
bool | _isAttacking |
Stub class for dungeon creatures
Constructor
|
inlineoverride |
Destructor
|
pure virtual |
Returns true if a monster blocks the background behind him
Implemented in Ultima::Ultima1::Widgets::DungeonMonster.
|
pure virtual |
Draw a monster
Implemented in Ultima::Ultima1::Widgets::DungeonMonster.