ProD  4.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
ProD.Map Class Reference

Public Member Functions

Cell GetCell (int pos_X, int pos_Y)
 
 Map ()
 
 Map (int _Size_X, int _Size_Y)
 
void UnvisitMap ()
 Marks all the cells in a map as unvisited. Should be called after every method where you visit cells in a map. More...
 
bool Contains (Cell cell)
 
bool Contains (Address address)
 
bool Contains (int x, int y)
 

Properties

WorldMap worldMap [get, set]
 
string theme [get, set]
 
int size_X [get]
 
int size_Y [get]
 
Address addressOnWorldMap [get, set]
 
Cell[,] cellsOnMap [get, set]
 
string[,] cellsOnMapInString [get]
 
bool generated [get, set]
 
float WindAngle [get, set]
 
List< RoomRooms [get, set]
 

Constructor & Destructor Documentation

ProD.Map.Map ( )
ProD.Map.Map ( int  _Size_X,
int  _Size_Y 
)

Member Function Documentation

bool ProD.Map.Contains ( Cell  cell)
bool ProD.Map.Contains ( Address  address)
bool ProD.Map.Contains ( int  x,
int  y 
)
Cell ProD.Map.GetCell ( int  pos_X,
int  pos_Y 
)
void ProD.Map.UnvisitMap ( )

Marks all the cells in a map as unvisited. Should be called after every method where you visit cells in a map.

Property Documentation

Address ProD.Map.addressOnWorldMap
getset
Cell [,] ProD.Map.cellsOnMap
getset
string [,] ProD.Map.cellsOnMapInString
get
bool ProD.Map.generated
getset
List<Room> ProD.Map.Rooms
getset
int ProD.Map.size_X
get
int ProD.Map.size_Y
get
string ProD.Map.theme
getset
float ProD.Map.WindAngle
getset
WorldMap ProD.Map.worldMap
getset