Table of Contents

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

x int

The x-coordinate of the grid cell.

y int

The y-coordinate of the grid cell.

z int

The z-coordinate of the grid cell.

cellType CellType

The CellType defining the terrain of the cell.

isWalkable bool

Indicates whether the cell can be walked on.

Properties

CellType

public CellType CellType { get; set; }

Property Value

CellType

IsWalkable

public bool IsWalkable { get; set; }

Property Value

bool

Unit

public UnitSystem? Unit { get; set; }

Property Value

UnitSystem

X

public int X { get; }

Property Value

int

Y

public int Y { get; }

Property Value

int

Z

public int Z { get; }

Property Value

int