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

Public Member Functions

 KeyCard (const ItemID, const NeighborhoodID, const RoomID, const DirectionConstant)
 
void toggleItemState () override
 
void setItemState (const ItemState) override
 
bool isFlashlightOn ()
 
- 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 void writeToStream (Common::WriteStream *stream)
 
virtual void readFromStream (Common::ReadStream *stream)
 
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 addedToInventory ()
 
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 removedFromInventory () override
 

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)
 
- 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
 

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