ScummVM API documentation
Ultima::Shared::StandardWidget Class Reference

#include <widgets.h>

Inheritance diagram for Ultima::Shared::StandardWidget:
Ultima::Shared::MapWidget Ultima::Shared::Creature

Public Member Functions

 StandardWidget (Game *game, Map::MapBase *map)
 
 StandardWidget (Game *game, Map::MapBase *map, const Point &pt, Direction dir=DIR_NONE)
 
 ~StandardWidget () override
 
- Public Member Functions inherited from Ultima::Shared::MapWidget
 MapWidget (Game *game, Map::MapBase *map)
 
 MapWidget (Game *game, Map::MapBase *map, const Point &pt, Direction dir=DIR_NONE)
 
 MapWidget (Game *game, Map::MapBase *map, const Common::String &name, const Point &pt, Direction dir=DIR_NONE)
 
virtual ~MapWidget ()
 
virtual const char * getClassName () const
 
virtual void synchronize (Common::Serializer &s)
 
void addInfoMsg (const Common::String &text, bool newLine=true)
 
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)
 

Additional Inherited Members

- Public Types inherited from Ultima::Shared::MapWidget
enum  CanMove { UNSET = 0, YES = 1, NO = 2 }
 
- Public Attributes inherited from Ultima::Shared::MapWidget
Point _position
 
Direction _direction
 
Common::String _name
 
- Protected Attributes inherited from Ultima::Shared::MapWidget
Game_game
 
Map::MapBase_map
 

Detailed Description

Base class for widgets on maps other than the dungeons

Constructor & Destructor Documentation

◆ StandardWidget()

Ultima::Shared::StandardWidget::StandardWidget ( Game game,
Map::MapBase map 
)
inline

Constructor

◆ ~StandardWidget()

Ultima::Shared::StandardWidget::~StandardWidget ( )
inlineoverride

Destructor


The documentation for this class was generated from the following file: