hoa_map::private_map::ZoneSection Class Reference

Class that represents a rectangular area on a map. More...

#include <map_zones.h>

Collaboration diagram for hoa_map::private_map::ZoneSection:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ZoneSection (uint16 s_col, uint16 s_row, uint16 e_col, uint16 e_row)

Public Attributes

uint16 end_col
uint16 end_row
 Coordinates of the bottom-right tile corner of this zone.
uint16 start_col
uint16 start_row
 Coordinates of the top-left tile corner of this zone.

Detailed Description

Class that represents a rectangular area on a map.

****************************************************************************

The area is represented by the top-left corner as the start and the bottom right corner as the end of the area. Both are represented in the row / column format (small tiles, collision cells).

Note:
ZoneSection should not be used by itself. Attach it to a MapZone.

Definition at line 36 of file map_zones.h.


Constructor & Destructor Documentation

hoa_map::private_map::ZoneSection::ZoneSection ( uint16  s_col,
uint16  s_row,
uint16  e_col,
uint16  e_row 
) [inline]

Definition at line 38 of file map_zones.h.


Member Data Documentation

uint16 hoa_map::private_map::ZoneSection::end_col

Definition at line 46 of file map_zones.h.

uint16 hoa_map::private_map::ZoneSection::end_row

Coordinates of the bottom-right tile corner of this zone.

Definition at line 46 of file map_zones.h.

uint16 hoa_map::private_map::ZoneSection::start_col

Definition at line 43 of file map_zones.h.

uint16 hoa_map::private_map::ZoneSection::start_row

Coordinates of the top-left tile corner of this zone.

Definition at line 43 of file map_zones.h.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 23:15:02 2007 for Hero of Allacrost by  doxygen 1.5.1