ScummVM API documentation
Wage::Obj Class Reference
Inheritance diagram for Wage::Obj:
Wage::Designed

Public Types

enum  ObjectType {
  REGULAR_WEAPON = 1, THROW_WEAPON = 2, MAGICAL_OBJECT = 3, HELMET = 4,
  SHIELD = 5, CHEST_ARMOR = 6, SPIRITUAL_ARMOR = 7, MOBILE_OBJECT = 8,
  IMMOBILE_OBJECT = 9
}
 
enum  AttackType {
  CAUSES_PHYSICAL_DAMAGE = 0, CAUSES_SPIRITUAL_DAMAGE = 1, CAUSES_PHYSICAL_AND_SPIRITUAL_DAMAGE = 2, HEALS_PHYSICAL_DAMAGE = 3,
  HEALS_SPIRITUAL_DAMAGE = 4, HEALS_PHYSICAL_AND_SPIRITUAL_DAMAGE = 5, FREEZES_OPPONENT = 6
}
 

Public Member Functions

 Obj (Common::String name, Common::SeekableReadStream *data, int resourceId)
 
void setCurrentOwner (Chr *currentOwner)
 
void setCurrentScene (Scene *currentScene)
 
ChrremoveFromChr ()
 
DesignedremoveFromCharOrScene ()
 
void resetState (Chr *owner, Scene *scene)
 
- Public Member Functions inherited from Wage::Designed
Common::RectgetDesignBounds ()
 
void setDesignBounds (Common::Rect *bounds)
 
Common::String toString () const
 

Public Attributes

int _index
 
int _resourceId
 
bool _namePlural
 
uint _value
 
int _attackType
 
int _numberOfUses
 
bool _returnToRandomScene
 
Common::String _sceneOrOwner
 
Common::String _clickMessage
 
Common::String _failureMessage
 
Common::String _useMessage
 
Scene_currentScene
 
Chr_currentOwner
 
int _type
 
uint _accuracy
 
Common::String _operativeVerb
 
int _damage
 
Common::String _sound
 
- Public Attributes inherited from Wage::Designed
Common::String _name
 
Design_design
 
Common::Rect_designBounds
 
OperandType _classType
 

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