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<CellInformation>, IEffectTarget<CellInformation>
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, AovDataStructures.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 AovDataStructures.CellType

The CellType defining the terrain of the cell.

isWalkable bool

Indicates whether the cell can be walked on.

Properties

CellType

public AovDataStructures.CellType CellType { get; }

Property Value

AovDataStructures.CellType

IsWalkable

public bool IsWalkable { get; }

Property Value

bool

Unit

public UnitSystem? Unit { get; }

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

Methods

OnUnitEntered(UnitSystem)

Set the logic when a unit has entered the cell

public void OnUnitEntered(UnitSystem unit)

Parameters

unit UnitSystem

The unit that entered the cell