ScummVM API documentation
Saga2::Point16 Class Reference

Public Member Functions

 Point16 (int16 nx, int16 ny)
 
 Point16 (StaticPoint16 p)
 
void load (Common::SeekableReadStream *stream)
 
void write (Common::MemoryWriteStreamDynamic *out)
 
void operator+= (Point16 a)
 
void operator-= (Point16 a)
 
void operator*= (int a)
 
void operator/= (int a)
 
void operator>>= (int a)
 
void operator<<= (int a)
 
void debugPrint (int level=0, const char *msg="Point32:")
 

Public Attributes

int16 x
 
int16 y
 

Friends

Point16 operator+ (Point16 a, Point16 b)
 
Point16 operator- (Point16 a)
 
Point16 operator- (Point16 a, Point16 b)
 
Point16 operator* (Point16 a, int b)
 
Point16 operator/ (Point16 a, int b)
 
Point16 operator>> (Point16 a, int b)
 
Point16 operator<< (Point16 a, int b)
 
int operator== (Point16 a, Point16 b)
 
int operator!= (Point16 a, Point16 b)
 

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