Свойство | Тип | Описание | |
---|---|---|---|
localGameMap | DRObjects.MapBlock[ |
Метод | Описание | |
---|---|---|
AddToLocalMap ( |
Add a block to a local map
|
|
DeserialiseLocalMap ( System.Guid uniqueGuid ) : |
Loads a local map from the file it was saved in. Will not load it into the gamestate thoughs
|
|
GeneratePathfindingMap ( ) : void |
Generates the map required for pathfinding, and assign it to the Interface
|
|
GetBlockAtCoordinate ( MapCoordinate coordinate ) : |
Gets a block which is at a particular coordinate. If there is no block marked on the map, it will return an Air block.
|
|
GetBlocksAroundPoint ( MapCoordinate centre, int radius ) : DRObjects.MapBlock[] | ||
HasDirectPath ( MapCoordinate source, MapCoordinate target ) : bool |
Returns true if there is a direct path between the source and the target
|
|
LocalMap ( int sizeX, int sizeY, int sizeZ, int groundLevel ) : System |
Creates a new Local map with x,y,z as size. The ground level determines the entry level for the map (generally 0)
|
|
MapGenerated ( System.Guid uniqueGuid ) : bool |
Determines whether a map has been generated already or not
|
|
MinuteChanged ( object sender, |
Performs the summoning of creatures for Dungeons, as well as handles events
|
|
SerialiseLocalMap ( ) : void |
Saves the Local Map into the folder as per its guid
|
|
Tick ( ) : ActionFeedback[] |
Perform a tick. Checks all actors and allow them an action
|
public AddToLocalMap ( |
||
block | ||
Результат | void |
public static DeserialiseLocalMap ( System.Guid uniqueGuid ) : |
||
uniqueGuid | System.Guid | |
Результат |
public GetBlockAtCoordinate ( MapCoordinate coordinate ) : |
||
coordinate | MapCoordinate | |
Результат |
public GetBlocksAroundPoint ( MapCoordinate centre, int radius ) : DRObjects.MapBlock[] | ||
centre | MapCoordinate | |
radius | int | |
Результат | DRObjects.MapBlock[] |
public HasDirectPath ( MapCoordinate source, MapCoordinate target ) : bool | ||
source | MapCoordinate | |
target | MapCoordinate | |
Результат | bool |
public LocalMap ( int sizeX, int sizeY, int sizeZ, int groundLevel ) : System | ||
sizeX | int | |
sizeY | int | |
sizeZ | int | |
groundLevel | int | |
Результат | System |
public static MapGenerated ( System.Guid uniqueGuid ) : bool | ||
uniqueGuid | System.Guid | |
Результат | bool |
public MinuteChanged ( object sender, |
||
sender | object | |
e | ||
Результат | void |