#include <transport.h>
Public Member Functions | |
DECLARE_WIDGET (Shuttle) | |
Shuttle (Ultima1Game *game, Maps::MapBase *map) | |
void | synchronize (Common::Serializer &s) override |
uint | getTileNum () const override |
Public Member Functions inherited from Ultima::Ultima1::Widgets::Transport | |
Transport (Ultima1Game *game, Maps::MapBase *map, uint transportId) | |
bool | isBlocking () const override |
virtual void | board () |
virtual void | disembark () |
virtual Common::String | getWeaponsName () |
uint | transportId () const |
Public Member Functions inherited from Ultima::Ultima1::Widgets::OverworldWidget | |
OverworldWidget (Shared::Game *game, Shared::Maps::MapBase *map, uint tileNum, const Point &pt, Shared::Maps::Direction dir=Shared::Maps::DIR_NONE) | |
OverworldWidget (Shared::Game *game, Shared::Maps::MapBase *map) | |
CanMove | canMoveTo (const Point &destPos) override |
Public Member Functions inherited from Ultima::Shared::Maps::MapWidget | |
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 |
void | addInfoMsg (const Common::String &text, bool newLine=true, bool replaceLine=false) |
virtual void | update (bool isPreUpdate) |
virtual void | moveTo (const Point &destPos, Direction dir=DIR_NONE) |
Public Member Functions inherited from Ultima::Shared::BaseObject | |
virtual ::Ultima::Shared::ClassDef | getType () const |
bool | isInstanceOf (const ClassDef &classDef) const |
Public Attributes | |
uint | _space1 |
uint | _space2 |
CLASSDEF | |
Public Attributes inherited from Ultima::Ultima1::Widgets::OverworldWidget | |
Common::String | _name |
uint | _tileNum |
Public Attributes inherited from Ultima::Shared::Maps::MapWidget | |
Point | _position |
Direction | _direction |
Common::String | _name |
CLASSDEF | |
Additional Inherited Members | |
Public Types inherited from Ultima::Shared::Maps::MapWidget | |
enum | CanMove { UNSET = 0, YES = 1, NO = 2 } |
Static Public Member Functions inherited from Ultima::Shared::Maps::MapWidget | |
static Direction | directionFromKey (Common::KeyCode keycode) |
Static Public Member Functions inherited from Ultima::Shared::BaseObject | |
::Ultima::Shared::ClassDef | type () |
Protected Member Functions inherited from Ultima::Ultima1::Widgets::OverworldWidget | |
Ultima1Game * | getGame () const |
Maps::MapBase * | getMap () const |
Protected Attributes inherited from Ultima::Ultima1::Widgets::Transport | |
uint | _transportId |
Protected Attributes inherited from Ultima::Shared::Maps::MapWidget | |
Game * | _game |
MapBase * | _map |
Shuttle widget
Ultima::Ultima1::Widgets::Shuttle::Shuttle | ( | Ultima1Game * | game, |
Maps::MapBase * | map | ||
) |
Constructor
|
overridevirtual |
Handles loading and saving data
Reimplemented from Ultima::Ultima1::Widgets::OverworldWidget.
|
inlineoverridevirtual |
Get the tile for the transport method
Reimplemented from Ultima::Ultima1::Widgets::OverworldWidget.