ScummVM API documentation
Ultima::Nuvie::MapCoord Class Reference

Public Member Functions

 MapCoord (uint16 nx, uint16 ny, uint16 nz=0)
 
 MapCoord (Obj *obj)
 
uint32 xdistance (const MapCoord &c2) const
 
uint32 ydistance (const MapCoord &c2) const
 
uint32 distance (const MapCoord &c2) const
 
MapCoord abs_coords (sint16 dx, sint16 dy) const
 
bool is_visible () const
 
void print_d (DebugLevelType level) const
 
void print_h (DebugLevelType level) const
 
void print_s (DebugLevelType level) const
 
bool operator== (const MapCoord &c2) const
 
bool operator!= (const MapCoord &c2) const
 

Public Attributes

union {
   uint16   x
 
   sint16   sx
 
}; 
 
union {
   uint16   y
 
   sint16   sy
 
}; 
 
uint8 z
 

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