ScummVM API documentation
Scumm::Defender Class Reference

Public Member Functions

 Defender (AI *ai)
 
void setSourceX (int sourceX)
 
void setSourceY (int sourceY)
 
void setTargetX (int targetX)
 
void setTargetY (int targetY)
 
void setSourceUnit (int sourceUnit)
 
void setPower (int power)
 
void setAngle (int angle)
 
void setUnit (int unit)
 
int getSourceX () const
 
int getSourceY () const
 
int getTargetX () const
 
int getTargetY () const
 
int getSourceUnit () const
 
int getPower () const
 
int getAngle () const
 
int getUnit () const
 
int calculateDefenseUnitPosition (int targetX, int targetY, int index)
 

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