Elin Modding Docs Doc
Loading...
Searching...
No Matches
POIMap Class Reference

Classes

class  Cell
 

Public Member Functions

void Init (int _mapSize, int _cellSize)
 
void Reset ()
 
Point GetCenterOfEmptyCell (int tries=100)
 
POIMap.Cell GetCenterCell (int radius=1)
 
POIMap.Cell GetEmptyCell ()
 
void ForeachCenterOfEmptyCell (Action< Point > action)
 
void OccyupyPOI (Point p, int radius=0)
 
void OccyupyPOI (int _x, int _z, int radius)
 

Public Attributes

POIMap.Cell[,] cells
 

Static Public Attributes

static int cellSize
 
static int mapSize
 

Properties

int length [get]
 

Detailed Description

Definition at line 4 of file POIMap.cs.

Member Function Documentation

◆ ForeachCenterOfEmptyCell()

void POIMap.ForeachCenterOfEmptyCell ( Action< Point > action)

Definition at line 80 of file POIMap.cs.

◆ GetCenterCell()

POIMap.Cell POIMap.GetCenterCell ( int radius = 1)

Definition at line 58 of file POIMap.cs.

◆ GetCenterOfEmptyCell()

Point POIMap.GetCenterOfEmptyCell ( int tries = 100)

Definition at line 42 of file POIMap.cs.

◆ GetEmptyCell()

POIMap.Cell POIMap.GetEmptyCell ( )

Definition at line 64 of file POIMap.cs.

◆ Init()

void POIMap.Init ( int _mapSize,
int _cellSize )

Definition at line 17 of file POIMap.cs.

◆ OccyupyPOI() [1/2]

void POIMap.OccyupyPOI ( int _x,
int _z,
int radius )

Definition at line 101 of file POIMap.cs.

◆ OccyupyPOI() [2/2]

void POIMap.OccyupyPOI ( Point p,
int radius = 0 )

Definition at line 95 of file POIMap.cs.

◆ Reset()

void POIMap.Reset ( )

Definition at line 26 of file POIMap.cs.

Member Data Documentation

◆ cells

POIMap.Cell [,] POIMap.cells

Definition at line 131 of file POIMap.cs.

◆ cellSize

int POIMap.cellSize
static

Definition at line 125 of file POIMap.cs.

◆ mapSize

int POIMap.mapSize
static

Definition at line 128 of file POIMap.cs.

Property Documentation

◆ length

int POIMap.length
get

Definition at line 8 of file POIMap.cs.


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