diff options
author | Joseph-Eugene Winzer | 2017-06-16 23:24:39 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-22 23:17:48 +0000 |
commit | 7a16dbdd505036f717c28ccfc0d1a290882b029b (patch) | |
tree | bfd3cdcc9138264114e10278a6241c470a5c2f6d | |
parent | 0e859cd296873974536467d4d282929550575ee3 (diff) | |
download | scummvm-rg350-7a16dbdd505036f717c28ccfc0d1a290882b029b.tar.gz scummvm-rg350-7a16dbdd505036f717c28ccfc0d1a290882b029b.tar.bz2 scummvm-rg350-7a16dbdd505036f717c28ccfc0d1a290882b029b.zip |
SUPERNOVA: Adds isSectionVisible() to Object Class
-rw-r--r-- | engines/supernova/rooms.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/supernova/rooms.h b/engines/supernova/rooms.h index 4e53d69c66..a659c4cb9a 100644 --- a/engines/supernova/rooms.h +++ b/engines/supernova/rooms.h @@ -23,6 +23,9 @@ public: int getFileNumber() const { return _fileNumber; } + bool isSectionVisible(size_t index) const { + return _shown[index]; + } Object *getObject(size_t index) { return &_objectState[index]; } |