#include <merchant_magic.h>
Public Member Functions | |
MerchantMagic (Ultima1Game *game, Maps::MapBase *map, int hitPoints) | |
MerchantMagic (Ultima1Game *game, Maps::MapBase *map, uint tileNum, int hitPoints) | |
MerchantMagic (Ultima1Game *game, Maps::MapBase *map) | |
void | talk () override |
Public Member Functions inherited from Ultima::Ultima1::Widgets::Merchant | |
Merchant (Ultima1Game *game, Maps::MapBase *map, int hitPoints) | |
Merchant (Ultima1Game *game, Maps::MapBase *map, uint tileNum, int hitPoints) | |
Merchant (Ultima1Game *game, Maps::MapBase *map) | |
virtual void | get () |
virtual void | steal () |
Public Member Functions inherited from Ultima::Ultima1::Widgets::Person | |
Person (Ultima1Game *game, Maps::MapBase *map, uint tileNum, int hitPoints) | |
Person (Ultima1Game *game, Maps::MapBase *map, uint tileNum) | |
void | synchronize (Common::Serializer &s) override |
bool | subtractHitPoints (uint amount) override |
Public Member Functions inherited from Ultima::Ultima1::Widgets::UrbanWidget | |
UrbanWidget (Shared::Game *game, Shared::Maps::MapBase *map, uint tileNum) | |
~UrbanWidget () override | |
uint | getTileNum () const override |
CanMove | canMoveTo (const Point &destPos) override |
void | synchronize (Common::Serializer &s) 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 bool | isBlocking () const |
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 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 |
Public Attributes | |
CLASSDEF | |
Public Attributes inherited from Ultima::Ultima1::Widgets::Merchant | |
CLASSDEF | |
Public Attributes inherited from Ultima::Ultima1::Widgets::Person | |
CLASSDEF | |
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::Merchant | |
bool | checkCuaghtStealing () |
void | noKingsPermission () |
Protected Member Functions inherited from Ultima::Ultima1::Widgets::Person | |
bool | areGuardsHostile () const |
int | getRandomDelta () const |
Point | getRandomMoveDelta () const |
Protected Member Functions inherited from Ultima::Ultima1::Widgets::UrbanWidget | |
bool | moveBy (const Point &delta) |
Protected Member Functions inherited from Ultima::Shared::Maps::Creature | |
virtual uint | attackDistance () const |
virtual void | movement () |
virtual void | attackParty () |
Protected Attributes inherited from Ultima::Ultima1::Widgets::Person | |
Ultima1Game * | _game |
Maps::MapBase * | _map |
Protected Attributes inherited from Ultima::Ultima1::Widgets::UrbanWidget | |
CLASSDEF | |
Protected Attributes inherited from Ultima::Shared::Maps::MapWidget | |
Game * | _game |
MapBase * | _map |
Protected Attributes inherited from Ultima::Shared::Maps::Creature | |
int | _hitPoints |
bool | _isAttacking |
Implements the magic merchant
|
inline |
Constructor
|
inline |
Constructor
|
inline |
Constructor
|
overridevirtual |
Do a talk action
Reimplemented from Ultima::Ultima1::Widgets::Person.