ScummVM API documentation
Ultima::Ultima1::Widgets::EnemyVessel Class Reference

#include <overworld_monster.h>

Inheritance diagram for Ultima::Ultima1::Widgets::EnemyVessel:
Ultima::Ultima1::Widgets::OverworldMonster Ultima::Ultima1::Widgets::OverworldWidget Ultima::Shared::Maps::Creature Ultima::Shared::Maps::MapWidget Ultima::Shared::MessageTarget Ultima::Shared::BaseObject

Public Member Functions

 EnemyVessel (Shared::Game *game, Shared::Maps::MapBase *map, uint tileNum, int hitPoints, const Point &pt, Shared::Maps::Direction dir=Shared::Maps::DIR_NONE)
 
 EnemyVessel (Shared::Game *game, Shared::Maps::MapBase *map)
 
- Public Member Functions inherited from Ultima::Ultima1::Widgets::OverworldMonster
 OverworldMonster (Shared::Game *game, Shared::Maps::MapBase *map, uint tileNum, int hitPoints, const Point &pt, Shared::Maps::Direction dir=Shared::Maps::DIR_NONE)
 
 OverworldMonster (Shared::Game *game, Shared::Maps::MapBase *map)
 
 ~OverworldMonster () override
 
OverworldMonsterId id () const
 
void synchronize (Common::Serializer &s) override
 
uint attackDistance () const override
 
- 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)
 
uint getTileNum () const override
 
void synchronize (Common::Serializer &s) override
 
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 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
 
virtual bool subtractHitPoints (uint amount)
 

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::Ultima1::Widgets::OverworldWidget
Common::String _name
 
uint _tileNum
 
- Public Attributes inherited from Ultima::Shared::Maps::MapWidget
Point _position
 
Direction _direction
 
Common::String _name
 
 CLASSDEF
 
- Public Attributes inherited from Ultima::Shared::MessageTarget
 CLASSDEF
 
- Protected Member Functions inherited from Ultima::Ultima1::Widgets::OverworldMonster
void attackParty () override
 
void movement () override
 
- Protected Member Functions inherited from Ultima::Ultima1::Widgets::OverworldWidget
Ultima1GamegetGame () const
 
Maps::MapBasegetMap () const
 
- Protected Member Functions inherited from Ultima::Shared::MessageTarget
virtual const Ultima::Shared::MSGMAPgetMessageMap () const
 
- Static Protected Member Functions inherited from Ultima::Shared::MessageTarget
static const Ultima::Shared::MSGMAPgetThisMessageMap ()
 
- Protected Attributes inherited from Ultima::Shared::Maps::MapWidget
Game_game
 
MapBase_map
 
- Protected Attributes inherited from Ultima::Shared::Maps::Creature
int _hitPoints
 
bool _isAttacking
 

Detailed Description

Enemy vessels on the overworld

Constructor & Destructor Documentation

◆ EnemyVessel() [1/2]

Ultima::Ultima1::Widgets::EnemyVessel::EnemyVessel ( Shared::Game game,
Shared::Maps::MapBase map,
uint  tileNum,
int  hitPoints,
const Point pt,
Shared::Maps::Direction  dir = Shared::Maps::DIR_NONE 
)
inline

Constructor

◆ EnemyVessel() [2/2]

Ultima::Ultima1::Widgets::EnemyVessel::EnemyVessel ( Shared::Game game,
Shared::Maps::MapBase map 
)
inline

Constructor


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