메소드 | 설명 | |
---|---|---|
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 | |
리턴 |
public static GetBlockAtPoint ( MapCoordinate point, GlobalOverlay globalOverlay ) : |
||
point | MapCoordinate | |
globalOverlay | GlobalOverlay | |
리턴 |
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 | |
리턴 | 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 |
리턴 | DRObjects.GraphicsEngineObjects.GraphicalBlock[] |
public static GetPossibleActions ( MapCoordinate coordinate ) : ActionType[] | ||
coordinate | MapCoordinate | |
리턴 | ActionType[] |
public static PerformAction ( MapCoordinate coordinate, |
||
coordinate | MapCoordinate | |
item | ||
actionType | ActionType | |
args | object | |
리턴 | ActionFeedback[] |
public static PerformLocalTick ( ) : ActionFeedback[] | ||
리턴 | ActionFeedback[] |