ScummVM API documentation
Macs2::GameObjects Class Reference
Inheritance diagram for Macs2::GameObjects:
Common::Singleton< GameObjects > Common::NonCopyable

Public Member Functions

void init ()
 

Static Public Member Functions

static bool isNpcIndex (uint16 objectIndex)
 
static GameObjectgetProtagonistObject ()
 
static GameObjectgetObjectByIndex (uint16 index)
 
static class Common::MemoryReadStreamreadGameObjectStrings (uint16 index, Common::MemoryReadStream *fileStream)
 
- Static Public Member Functions inherited from Common::Singleton< GameObjects >
static bool hasInstance ()
 
static GameObjects & instance ()
 
static void destroy ()
 

Public Attributes

Common::Array< GameObject * > _objects
 
Common::Array< Common::String_objectNames
 

Additional Inherited Members

- Protected Types inherited from Common::Singleton< GameObjects >
typedef GameObjects SingletonBaseType
 
- Static Protected Attributes inherited from Common::Singleton< GameObjects >
static GameObjects * _singleton
 

Member Function Documentation

◆ isNpcIndex()

static bool Macs2::GameObjects::isNpcIndex ( uint16  objectIndex)
static

True for character/NPC object indices (not inventory items).


The documentation for this class was generated from the following file: