Table of Contents

Class PhysicalGrid<TPoint, TCell>

Namespace
Gamelogic.Grids2.Examples
Assembly
Assembly-CSharp.dll
public class PhysicalGrid<TPoint, TCell>

Type Parameters

TPoint
TCell
Inheritance
PhysicalGrid<TPoint, TCell>
Inherited Members

Constructors

PhysicalGrid(IGrid<TPoint, TCell>, GridMap<TPoint>, GameObject)

public PhysicalGrid(IGrid<TPoint, TCell> grid, GridMap<TPoint> gridMap, GameObject gameObject)

Parameters

grid IGrid<TPoint, TCell>
gridMap GridMap<TPoint>
gameObject GameObject

Properties

GameObject

public GameObject GameObject { get; }

Property Value

GameObject

Grid

public IGrid<TPoint, TCell> Grid { get; }

Property Value

IGrid<TPoint, TCell>

GridMap

public GridMap<TPoint> GridMap { get; }

Property Value

GridMap<TPoint>

Methods

AddComponent<T>()

public T AddComponent<T>() where T : GridBehaviour<TPoint, TCell>

Returns

T

Type Parameters

T

GetComponent<T>()

public T GetComponent<T>() where T : GridBehaviour<TPoint, TCell>

Returns

T

Type Parameters

T