Table of Contents

Class GridBuilder<TPoint>

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

Base class for grid builders.

public class GridBuilder<TPoint> : GLMonoBehaviour where TPoint : IGridPoint<TPoint>

Type Parameters

TPoint

The type of the t point.

Inheritance
GridBuilder<TPoint>
Derived
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.runInEditMode
Component.GetComponent<T>()
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentsInParent<T>()
Component.transform
Component.gameObject
Component.tag
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.name
Object.hideFlags
Extension Methods

Fields

CenterRect

protected readonly Rect CenterRect

Field Value

Rect

cells

[SerializeField]
protected TileCell[] cells

Field Value

TileCell[]

grid

protected IGrid<TileCell, TPoint> grid

Field Value

IGrid<TileCell, TPoint>

isInteractive

[SerializeField]
[Tooltip("Whether the grid will respond to mouse clicks")]
protected bool isInteractive

Field Value

bool

map

protected IMap3D<TPoint> map

Field Value

IMap3D<TPoint>

updateType

[SerializeField]
[Tooltip("When to update the grid")]
protected UpdateType updateType

Field Value

UpdateType

Properties

MousePosition

public TPoint MousePosition { get; }

Property Value

TPoint

Methods

GetCustomMap()

protected WindowedMap<TPoint> GetCustomMap()

Returns

WindowedMap<TPoint>

Update()

public void Update()

See Also