mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
HDB: Add getter-setter for _mapExplosions
This commit is contained in:
parent
595b520f4a
commit
88bab8cc79
@ -107,6 +107,13 @@ public:
|
||||
// Check if one of the tiles in a range exists in the map on either layer
|
||||
bool checkOneTileExistInRange(int tileIndex, int count);
|
||||
|
||||
bool explosionExist(int x, int y) {
|
||||
return _mapExplosions[y * _width + x];
|
||||
}
|
||||
void setExplosion(int x, int y, int value) {
|
||||
_mapExplosions[y * _width + x] = value;
|
||||
}
|
||||
|
||||
uint16 _width, _height;
|
||||
int _mapX, _mapY; // Coordinates of Map
|
||||
int _mapTileX, _mapTileY; // Tile Coordinates of Map
|
||||
|
Loading…
x
Reference in New Issue
Block a user