ScummVM API documentation
Ultima::Shared::MapTile Class Reference

#include <map.h>

Public Member Functions

 MapTile ()
 
virtual ~MapTile ()
 
virtual void clear ()
 
bool isDoor () const
 
bool isWallOrSecretDoor () const
 
bool isWallOrDoorway () const
 
bool isSolid () const
 

Public Attributes

int _tileId
 
int _tileNum
 
int _widgetNum
 
MapWidget_widget
 
int _itemNum
 
bool _isDoor
 
bool _isSecretDoor
 
bool _isLadderUp
 
bool _isLadderDown
 
bool _isWall
 
bool _isHallway
 
bool _isBeams
 

Detailed Description

Contains data about a given position within the map

Constructor & Destructor Documentation

◆ MapTile()

Ultima::Shared::MapTile::MapTile ( )
inline

Constructor

◆ ~MapTile()

virtual Ultima::Shared::MapTile::~MapTile ( )
inlinevirtual

Destructor

Member Function Documentation

◆ clear()

virtual void Ultima::Shared::MapTile::clear ( )
virtual

Clears the map tile information

◆ isDoor()

bool Ultima::Shared::MapTile::isDoor ( ) const
inline

Returns true if the tile is a door in a dungeon

◆ isWallOrSecretDoor()

bool Ultima::Shared::MapTile::isWallOrSecretDoor ( ) const
inline

Returns true if the tile is a wall or secret door in a dungeon

◆ isWallOrDoorway()

bool Ultima::Shared::MapTile::isWallOrDoorway ( ) const
inline

Returns true if the tile in a dungeon is a type that has walls on it: walls, doors, or secret doors

◆ isSolid()

bool Ultima::Shared::MapTile::isSolid ( ) const
inline

Returns true if a tile is a solid type within a dungeon


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