ScummVM API documentation
Pegasus::AirMask Class Reference
Inheritance diagram for Pegasus::AirMask:
Pegasus::InventoryItem Pegasus::Idler Pegasus::Item Pegasus::IDObject

Public Member Functions

 AirMask (const ItemID, const NeighborhoodID, const RoomID, const DirectionConstant)
 
void writeToStream (Common::WriteStream *) override
 
void readFromStream (Common::ReadStream *) override
 
void setItemState (const ItemState) override
 
void putMaskOn ()
 
void takeMaskOff ()
 
void toggleItemState () override
 
void airQualityChanged ()
 
bool isAirMaskInUse ()
 
bool isAirMaskOn ()
 
bool isAirFilterOn ()
 
void refillAirMask ()
 
uint getAirLeft ()
 
void activateAirMaskHotspots ()
 
void clickInAirMaskHotspot ()
 
- Public Member Functions inherited from Pegasus::InventoryItem
 InventoryItem (const ItemID, const NeighborhoodID, const RoomID, const DirectionConstant)
 
ItemType getItemType () override
 
void getPanelTimes (TimeValue &, TimeValue &) const
 
TimeValue getLeftAreaTime () const
 
void setAnimationTime (const TimeValue)
 
TimeValue getAnimationTime () const
 
void select () override
 
void deselect () override
 
- Public Member Functions inherited from Pegasus::Item
 Item (const ItemID id, const NeighborhoodID neighborhood, const RoomID room, const DirectionConstant direction)
 
virtual ActorID getItemOwner () const
 
virtual void setItemOwner (const ActorID owner)
 
void getItemRoom (NeighborhoodID &neighborhood, RoomID &room, DirectionConstant &direction) const
 
void setItemRoom (const NeighborhoodID neighborhood, const RoomID room, const DirectionConstant direction)
 
NeighborhoodID getItemNeighborhood () const
 
virtual WeightType getItemWeight ()
 
virtual ItemState getItemState () const
 
TimeValue getInfoLeftTime () const
 
void getInfoRightTimes (TimeValue &, TimeValue &) const
 
TimeValue getSharedAreaTime () const
 
SpritegetDragSprite (const DisplayElementID) const
 
virtual bool isSelected ()
 
virtual void activate ()
 
virtual bool isActive ()
 
virtual void pickedUp ()
 
virtual void dropped ()
 
virtual void giveUpSharedArea ()
 
virtual void takeSharedArea ()
 
void findItemExtra (const uint32 extraID, ItemExtraEntry &entry)
 
void reset ()
 
- Public Member Functions inherited from Pegasus::IDObject
 IDObject (const int32 id)
 
int32 getObjectID () const
 

Protected Member Functions

void airMaskTimerExpired ()
 
void removedFromInventory () override
 
void addedToInventory () override
 
void useIdleTime () override
 

Protected Attributes

Hotspot _toggleSpot
 
FuseFunction _oxygenTimer
 
- Protected Attributes inherited from Pegasus::InventoryItem
JMPInventoryInfo _inventoryInfo
 
ItemStateInfo _leftAreaInfo
 
TimeValue _itemAnimationTime
 
- Protected Attributes inherited from Pegasus::Item
NeighborhoodID _itemNeighborhood
 
RoomID _itemRoom
 
DirectionConstant _itemDirection
 
ActorID _itemOwnerID
 
WeightType _itemWeight
 
ItemState _itemState
 
NeighborhoodID _originalNeighborhood
 
RoomID _originalRoom
 
DirectionConstant _originalDirection
 
JMPItemInfo _itemInfo
 
ItemStateInfo _sharedAreaInfo
 
ItemExtraInfo _itemExtras
 
bool _isActive
 
bool _isSelected
 

Additional Inherited Members

- Static Protected Member Functions inherited from Pegasus::Item
static void getItemStateEntry (ItemStateInfo, uint32, ItemState &, TimeValue &)
 
static void findItemStateEntryByState (ItemStateInfo, ItemState, TimeValue &)
 
static ItemStateInfo readItemState (Common::SeekableReadStream *stream)
 

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