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

#include <map_tile.h>

Inheritance diagram for Ultima::Shared::Maps::MapTile:
Ultima::Ultima1::Maps::U1MapTile

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 _tileDisplayNum
 
Common::Array< MapWidget * > _widgets
 
int _widgetNum
 
MapWidget_widget
 
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::Maps::MapTile::MapTile ( )
inline

Constructor

◆ ~MapTile()

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

Destructor

Member Function Documentation

◆ clear()

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

Clears the map tile information

Reimplemented in Ultima::Ultima1::Maps::U1MapTile.

◆ isDoor()

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

Returns true if the tile is a door in a dungeon

◆ isWallOrSecretDoor()

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

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

◆ isWallOrDoorway()

bool Ultima::Shared::Maps::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::Maps::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: