ScummVM API documentation
Pegasus::MapChip Class Reference
Inheritance diagram for Pegasus::MapChip:
Pegasus::BiochipItem Pegasus::Item Pegasus::IDObject

Public Member Functions

 MapChip (const ItemID, const NeighborhoodID, const RoomID, const DirectionConstant)
 
void select () override
 
void deselect () override
 
void takeSharedArea () override
 
void giveUpSharedArea () override
 
void moveToMapLocation (const NeighborhoodID, const RoomID, const DirectionConstant)
 
void writeToStream (Common::WriteStream *) override
 
void readFromStream (Common::ReadStream *) override
 
bool beenToMaze ()
 
- Public Member Functions inherited from Pegasus::BiochipItem
 BiochipItem (const ItemID, const NeighborhoodID, const RoomID, const DirectionConstant)
 
ItemType getItemType () override
 
TimeValue getPanelTime () const
 
TimeValue getRightAreaTime () const
 
- 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 void setItemState (const ItemState state)
 
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 removedFromInventory ()
 
virtual void dropped ()
 
void findItemExtra (const uint32 extraID, ItemExtraEntry &entry)
 
void reset ()
 
- Public Member Functions inherited from Pegasus::IDObject
 IDObject (const int32 id)
 
int32 getObjectID () const
 

Protected Attributes

MapImage _image
 
- Protected Attributes inherited from Pegasus::BiochipItem
TimeValue _biochipInfoPanelTime
 
ItemStateInfo _rightAreaInfo
 
- 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: