#include <map_tile.h>
Public Member Functions | |
| U1MapTile () | |
| void | setMap (MapBase *map) |
| void | clear () override |
| bool | isWater () const |
| bool | isGrass () const |
| bool | isWoods () const |
| bool | isOriginalWater () const |
| bool | isOriginalGrass () const |
| bool | isOriginalWoods () const |
| bool | isGround () const |
Public Member Functions inherited from Ultima::Shared::Maps::MapTile | |
| MapTile () | |
| virtual | ~MapTile () |
| bool | isDoor () const |
| bool | isWallOrSecretDoor () const |
| bool | isWallOrDoorway () const |
| bool | isSolid () const |
Public Attributes | |
| int | _locationNum |
| Widgets::DungeonItem * | _item |
Public Attributes inherited from Ultima::Shared::Maps::MapTile | |
| 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 |
Derived map tile class for Ultima 1 that adds extra properties
|
inline |
Constructor
|
inline |
Set the active map
|
overridevirtual |
Clears tile data
Reimplemented from Ultima::Shared::Maps::MapTile.
| bool Ultima::Ultima1::Maps::U1MapTile::isWater | ( | ) | const |
Return true if the tile base is water
| bool Ultima::Ultima1::Maps::U1MapTile::isGrass | ( | ) | const |
Return true if the tile base is grass
| bool Ultima::Ultima1::Maps::U1MapTile::isWoods | ( | ) | const |
Return true if the tile base is woods
| bool Ultima::Ultima1::Maps::U1MapTile::isOriginalWater | ( | ) | const |
Return true if the tile base in the original map is water
| bool Ultima::Ultima1::Maps::U1MapTile::isOriginalGrass | ( | ) | const |
Return true if the tile base in the original map is grass
| bool Ultima::Ultima1::Maps::U1MapTile::isOriginalWoods | ( | ) | const |
Return true if the tile base in the original map is woods
| bool Ultima::Ultima1::Maps::U1MapTile::isGround | ( | ) | const |
Returns true if the tile is a ground type tool