ScummVM API documentation
Ultima::Ultima4::Object Class Reference
Inheritance diagram for Ultima::Ultima4::Object:
Ultima::Ultima4::Creature Ultima::Ultima4::PartyMember Ultima::Ultima4::Person

Public Types

enum  Type { UNKNOWN, CREATURE, PERSON }
 

Public Member Functions

 Object (Type type=UNKNOWN)
 
MapTilegetTile ()
 
MapTilegetPrevTile ()
 
const CoordsgetCoords () const
 
const CoordsgetPrevCoords () const
 
ObjectMovementBehavior getMovementBehavior () const
 
Type getType () const
 
bool hasFocus () const
 
bool isVisible () const
 
bool isAnimated () const
 
void setTile (MapTile t)
 
void setTile (Tile *t)
 
void setPrevTile (MapTile t)
 
void setCoords (Coords c)
 
void setPrevCoords (Coords c)
 
void setMovementBehavior (ObjectMovementBehavior b)
 
void setType (Type t)
 
void setFocus (bool f=true)
 
void setVisible (bool v=true)
 
void setAnimated (bool a=true)
 
void setMap (class Map *m)
 
MapgetMap ()
 
void remove ()
 
bool setDirection (Direction d)
 
void animateMovement ()
 

Protected Attributes

MapTile _tile
 
MapTile _prevTile
 
Coords _coords
 
Coords _prevCoords
 
ObjectMovementBehavior _movementBehavior
 
Type _objType
 
Std::deque< class Map * > _maps
 
bool _focused
 
bool _visible
 
bool _animated
 

Member Function Documentation

◆ remove()

void Ultima::Ultima4::Object::remove ( )

Removes itself from any maps that it is a part of

Member Data Documentation

◆ _maps

Std::deque<class Map *> Ultima::Ultima4::Object::_maps
protected

A list of maps this object is a part of


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