Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

CSelector< GRID > Class Template Reference

List of all members.

Detailed Description

template<typename GRID>
class CSelector< GRID >

Utility to select rectangular world areas.

Grid sector class must have the following public members:

Parameters:
GRID  Grid class.
See also:
CGrid.


Static Public Methods

void putSelection (GRID &grid, float x1, float y1, float x2, float y2)
 Puts selection into grid.


Member Function Documentation

template<typename GRID>
void CSelector< GRID >::putSelection GRID &    grid,
float    x1,
float    y1,
float    x2,
float    y2
[inline, static]
 

Puts selection into grid.

For all sectors that are touched by a selection, puts the selection into the sector. Does not modify untouched sectors.

Parameters:
grid  The grid.
x1  Minimum X coordinate.
y1  Minimum Y coordinate.
x2  Maximum X coordinate.
y2  Maximum Y coordinate.


Generated on Thu Dec 5 17:27:58 2002 for LT Game Jam Session by doxygen1.2.17