22 #ifndef ULTIMA_SHARED_MAPS_MAP_TILE_H 23 #define ULTIMA_SHARED_MAPS_MAP_TILE_H 25 #include "common/array.h" 45 bool _isDoor, _isSecretDoor;
46 bool _isLadderUp, _isLadderDown;
47 bool _isWall, _isHallway, _isBeams;
52 MapTile() : _tileDisplayNum(-1), _tileId(-1), _widgetNum(-1), _widget(0),
53 _isDoor(false), _isSecretDoor(false), _isLadderUp(false), _isLadderDown(false), _isWall(false),
54 _isHallway(false), _isBeams(false) {}
69 bool isDoor()
const {
return _isDoor; }
84 bool isSolid()
const {
return !(_isHallway || _isLadderUp || _isLadderDown || _isBeams); }
Definition: map_tile.h:36
bool isWallOrDoorway() const
Definition: map_tile.h:79
bool isWallOrSecretDoor() const
Definition: map_tile.h:74
Definition: detection.h:27
MapTile()
Definition: map_tile.h:52
bool isSolid() const
Definition: map_tile.h:84
bool isDoor() const
Definition: map_tile.h:69
virtual ~MapTile()
Definition: map_tile.h:59