Method | Description | |
---|---|---|
GetBlockAtPoint ( MapCoordinate point ) : |
Gets a graphical block whcih exists on a particular point
|
|
GetBlockAtPoint ( MapCoordinate point, GlobalOverlay globalOverlay ) : |
Gets a graphical block whch exists on a particular point, with a global overlay
|
|
GetBlocksAroundPlayer ( int xRange, int yRange, int zRange ) : DRObjects.GraphicsEngineObjects.GraphicalBlock[] |
Gets a number of graphical blocks around the player. The order will be as follows: first max z, then max x, then max y.
|
|
GetBlocksAroundPoint ( MapCoordinate centrePoint, int xRange, int yRange, int zRange, GlobalOverlay overlay = GlobalOverlay.NONE ) : DRObjects.GraphicsEngineObjects.GraphicalBlock[] |
Gets a number of graphical blocks around a particular point. The order will be as follows: first max z, then max x, then max y.
|
|
GetPlayerActor ( ) : |
Gets the Actor object which represents the player
|
|
GetPossibleActions ( MapCoordinate coordinate ) : ActionType[] |
Gets possible actions for a particular block
|
|
PerformAction ( MapCoordinate coordinate, |
Performs an action on a particular or a particular item. If item is not null, will use the item. Otherwise will use the coordinate
|
|
PerformLocalTick ( ) : ActionFeedback[] |
Performs a local map tick
|
public static GetBlockAtPoint ( MapCoordinate point ) : |
||
point | MapCoordinate | |
return |
public static GetBlockAtPoint ( MapCoordinate point, GlobalOverlay globalOverlay ) : |
||
point | MapCoordinate | |
globalOverlay | GlobalOverlay | |
return |
public static GetBlocksAroundPlayer ( int xRange, int yRange, int zRange ) : DRObjects.GraphicsEngineObjects.GraphicalBlock[] | ||
xRange | int | How many tiles away from the centre point on the x axis will be obtained |
yRange | int | |
zRange | int | |
return | DRObjects.GraphicsEngineObjects.GraphicalBlock[] |
public static GetBlocksAroundPoint ( MapCoordinate centrePoint, int xRange, int yRange, int zRange, GlobalOverlay overlay = GlobalOverlay.NONE ) : DRObjects.GraphicsEngineObjects.GraphicalBlock[] | ||
centrePoint | MapCoordinate | The center point around which the tiles will be calculated |
xRange | int | How many tiles away from the centre point on the x axis will be obtained |
yRange | int | |
zRange | int | |
overlay | GlobalOverlay | If its a global map, the overlay to apply on it |
return | DRObjects.GraphicsEngineObjects.GraphicalBlock[] |
public static GetPlayerActor ( ) : |
||
return |
public static GetPossibleActions ( MapCoordinate coordinate ) : ActionType[] | ||
coordinate | MapCoordinate | |
return | ActionType[] |
public static PerformAction ( MapCoordinate coordinate, |
||
coordinate | MapCoordinate | |
item | ||
actionType | ActionType | |
args | object | |
return | ActionFeedback[] |
public static PerformLocalTick ( ) : ActionFeedback[] | ||
return | ActionFeedback[] |