22 #ifndef ULTIMA4_MAP_MAP_TILE_H 23 #define ULTIMA4_MAP_MAP_TILE_H 25 #include "ultima/ultima4/core/types.h" 26 #include "ultima/ultima4/map/tile.h" 36 MapTile() : _id(0), _frame(0), _freezeAnimation(
false) {
38 MapTile(
const TileId &i, byte f = 0) : _id(i), _frame(f), _freezeAnimation(
false) {
41 TileId getId()
const {
44 byte getFrame()
const {
47 bool getFreezeAnimation()
const {
48 return _freezeAnimation;
51 bool operator==(
const MapTile &m)
const {
54 bool operator==(
const TileId &i)
const {
57 bool operator!=(
const MapTile &m)
const {
60 bool operator!=(
const TileId &i)
const {
63 bool operator<(
const MapTile &m)
const {
71 bool setDirection(Direction d);
73 const Tile *getTileType()
const;
78 bool _freezeAnimation;
Definition: detection.h:27
Direction getDirection() const
Definition: map_tile.h:34