From 10246121e082f1c5dda7cf9b7171244d6811c27d Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Tue, 25 Jun 2019 02:07:42 +0530 Subject: HDB: Add getter-setter for _mapExpBarrels --- engines/hdb/map-loader.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/engines/hdb/map-loader.h b/engines/hdb/map-loader.h index 199d9fe738..62d494c662 100644 --- a/engines/hdb/map-loader.h +++ b/engines/hdb/map-loader.h @@ -114,6 +114,13 @@ public: _mapExplosions[y * _width + x] = value; } + bool boomBarrelExist(int x, int y) { + return _mapExpBarrels[y * _width + x]; + } + void setBoomBarrel(int x, int y, int value) { + _mapExpBarrels[y * _width + x] = value; + } + bool laserBeamExist(int x, int y) { return _mapLaserBeams[y * _width + x]; } -- cgit v1.2.3