Class CellInformation
- Namespace
- AshesOfVelsingrad.systems
- Assembly
- Ashes of Velsingrad.dll
Represents the information for a single grid cell in the map, including its coordinates, ground type, walkability, and the unit occupying it.
public sealed class CellInformation : EffectTarget, IEffectTarget
- Inheritance
-
CellInformation
- Implements
- Inherited Members
Constructors
CellInformation(int, int, int, CellType, bool)
Represents the information for a single grid cell in the map, including its coordinates, ground type, walkability, and the unit occupying it.
public CellInformation(int x, int y, int z, CellType cellType, bool isWalkable)
Parameters
xintThe x-coordinate of the grid cell.
yintThe y-coordinate of the grid cell.
zintThe z-coordinate of the grid cell.
cellTypeCellTypeThe CellType defining the terrain of the cell.
isWalkableboolIndicates whether the cell can be walked on.
Properties
CellType
public CellType CellType { get; set; }
Property Value
IsWalkable
public bool IsWalkable { get; set; }
Property Value
Unit
public UnitSystem? Unit { get; set; }
Property Value
X
public int X { get; }
Property Value
Y
public int Y { get; }
Property Value
Z
public int Z { get; }