#include <dungeon_widget.h>
Public Member Functions | |
DungeonWidget (Game *game, Maps::MapBase *map) | |
DungeonWidget (Game *game, Maps::MapBase *map, const Point &pt, Direction dir=DIR_NONE) | |
DungeonWidget (Game *game, Maps::MapBase *map, const Common::String &name, const Point &pt, Direction dir=DIR_NONE) | |
~DungeonWidget () override | |
virtual void | draw (DungeonSurface &s, uint distance)=0 |
![]() | |
MapWidget (Game *game, MapBase *map) | |
MapWidget (Game *game, MapBase *map, const Point &pt, Direction dir=DIR_NONE) | |
MapWidget (Game *game, MapBase *map, const Common::String &name, const Point &pt, Direction dir=DIR_NONE) | |
~MapWidget () override | |
virtual const char * | getClassName () const |
virtual void | synchronize (Common::Serializer &s) |
void | addInfoMsg (const Common::String &text, bool newLine=true, bool replaceLine=false) |
virtual uint | getTileNum () const |
virtual bool | isBlocking () const |
virtual void | update (bool isPreUpdate) |
virtual CanMove | canMoveTo (const Point &destPos) |
virtual void | moveTo (const Point &destPos, Direction dir=DIR_NONE) |
![]() | |
virtual ::Ultima::Shared::ClassDef | getType () const |
bool | isInstanceOf (const ClassDef &classDef) const |
Additional Inherited Members | |
![]() | |
enum | CanMove { UNSET = 0, YES = 1, NO = 2 } |
![]() | |
static Direction | directionFromKey (Common::KeyCode keycode) |
![]() | |
::Ultima::Shared::ClassDef | type () |
![]() | |
Point | _position |
Direction | _direction |
Common::String | _name |
CLASSDEF | |
![]() | |
Game * | _game |
MapBase * | _map |
Base class for things that appear within the dungeons
|
inline |
Constructor
|
inlineoverride |
Destructor
|
pure virtual |
Draws an item
Implemented in Ultima::Ultima1::Widgets::DungeonWidget, Ultima::Ultima1::Widgets::DungeonMonster, and Ultima::Ultima1::Widgets::DungeonPlayer.