#include <attack_effect.h>
Public Member Functions | |
AttackEffect (Shared::Game *game, Shared::Maps::MapBase *map) | |
void | synchronize (Common::Serializer &s) override |
uint | getTileNum () const 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 CanMove | canMoveTo (const Point &destPos) |
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 |
Protected Member Functions | |
AttackEffect (Shared::Game *game, Shared::Maps::MapBase *map, uint tileId) | |
Protected Attributes | |
uint | _tileId |
Point | _delta |
uint | _remainingDistance |
uint | _agility |
uint | _damage |
Protected Attributes inherited from Ultima::Shared::Maps::MapWidget | |
Game * | _game |
MapBase * | _map |
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 () |
Public Attributes inherited from Ultima::Shared::Maps::MapWidget | |
Point | _position |
Direction | _direction |
Common::String | _name |
CLASSDEF | |
Common base class for both physical and spell attack effects
|
inlineprotected |
Constructor
|
inline |
Constructor
|
overridevirtual |
Handles loading and saving the widget's data
Reimplemented from Ultima::Shared::Maps::MapWidget.
|
inlineoverridevirtual |
Get the tile for the transport method
Reimplemented from Ultima::Shared::Maps::MapWidget.