BLOCK_EAST = 0x02,
BLOCK_SOUTH = 0x04,
BLOCK_WEST = 0x08,
+ LADDER = 0x10,
};
SDL_Surface *BattleBackground() { return battlebg; }
bool BlocksSouth() const { return flags & BLOCK_SOUTH; }
bool BlocksWest() const { return flags & BLOCK_WEST; }
+ bool IsLadder() const { return flags & LADDER; }
+
+ int NumFrames() const { return frames; }
+
static void CreateTypeDescription();
static void Construct(void *);
SDL_Surface *battlebg;
math::Vector<int> offset;
int flags;
+ int frames;
};
}
-#endif /* MAP_TILE_H_ */
+#endif