aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-06-16 15:22:24 +0200
committerThierry Crozat2018-01-22 23:17:48 +0000
commit6c5865c44cc154ee9aedc8ac539552c81c9ed479 (patch)
treee14116819ad6bf5841670c9426e5e07763c6be2c
parenta1462cae1f2dce52dd3e9c164cdab3ba8178aaa5 (diff)
downloadscummvm-rg350-6c5865c44cc154ee9aedc8ac539552c81c9ed479.tar.gz
scummvm-rg350-6c5865c44cc154ee9aedc8ac539552c81c9ed479.tar.bz2
scummvm-rg350-6c5865c44cc154ee9aedc8ac539552c81c9ed479.zip
SUPERNOVA: Adds getObject() to Room Interface
-rw-r--r--engines/supernova/rooms.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/supernova/rooms.h b/engines/supernova/rooms.h
index 701f473bbb..bd82683c72 100644
--- a/engines/supernova/rooms.h
+++ b/engines/supernova/rooms.h
@@ -23,6 +23,9 @@ public:
int getFileNumber() const {
return _fileNumber;
}
+ Object *getObject(size_t index) {
+ return _objectState[index];
+ }
virtual ~Room() {}
virtual void animation() {}