Grid
Namespace: Murder.Core
Assembly: Murder.dll
public static class Grid
Helper static class that forwards the values of the default Game.Grid for easier access.
⭐ Properties
CellDimensions
public static Point CellDimensions { get; }
Returns
Point
CellSize
public static int CellSize { get; }
Returns
int
HalfCellDimensions
public static Point HalfCellDimensions { get; }
Returns
Point
HalfCellSize
public static int HalfCellSize { get; }
Returns
int
⭐ Methods
CeilToGrid(float)
public int CeilToGrid(float value)
Parameters
value
float
Returns
int
FloorToGrid(float)
public int FloorToGrid(float value)
Parameters
value
float
Returns
int
RoundToGrid(float)
public int RoundToGrid(float value)
Parameters
value
float
Returns
int
⚡