ScummVM API documentation
Queen::Box Struct Reference

Public Member Functions

 Box (int16 xx1, int16 yy1, int16 xx2, int16 yy2)
 
void readFromBE (byte *&ptr)
 
void writeToBE (byte *&ptr)
 
int16 xDiff () const
 
int16 yDiff () const
 
bool intersects (int16 x, int16 y, uint16 w, uint16 h) const
 
bool contains (int16 x, int16 y) const
 
bool operator== (const Box &b) const
 

Public Attributes

int16 x1
 
int16 y1
 
int16 x2
 
int16 y2
 

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