ScummVM API documentation
Scumm::OffenseUnit Class Reference
Inheritance diagram for Scumm::OffenseUnit:
Scumm::DefenseUnit

Public Member Functions

 OffenseUnit (AI *ai)
 
 OffenseUnit (DefenseUnit *inUnit, AI *ai)
 
int getType () const override
 
Common::PointcreateTargetPos (int index, int distance, int weaponType, int sourceX, int sourceY) override
 
int selectWeapon (int index) override
 
- Public Member Functions inherited from Scumm::DefenseUnit
 DefenseUnit (AI *ai)
 
 DefenseUnit (DefenseUnit *inUnit, AI *ai)
 
void setID (int id)
 
void setDistanceTo (int distanceTo)
 
void setState (int state)
 
void setRadius (int radius)
 
void setArmor (int armor)
 
void setDamage (int damage)
 
void setPos (int x, int y)
 
void setCost (int cost)
 
int getID () const
 
int getDistanceTo () const
 
int getState () const
 
int getRadius () const
 
int getArmor () const
 
int getPosX () const
 
int getPosY () const
 
int getCost () const
 

Additional Inherited Members

- Protected Attributes inherited from Scumm::DefenseUnit
AI_ai
 

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