프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |