Table of Contents

Class KnightsTourGridBehaviour

Namespace
Gamelogic.Grids.Examples
Assembly
Assembly-CSharp.dll
public class KnightsTourGridBehaviour : GridBehaviour<RectPoint>
Inheritance
KnightsTourGridBehaviour
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

gradient

public Gradient gradient

Field Value

Gradient

k

public int k

Field Value

int

levels

public int levels

Field Value

int

m

public int m

Field Value

int

n

public int n

Field Value

int

startNode

public InspectableVectorPoint startNode

Field Value

InspectableVectorPoint

Methods

GetNeighbors(RectPoint)

public List<RectPoint> GetNeighbors(RectPoint point)

Parameters

point RectPoint

Returns

List<RectPoint>

InitGrid()

When this behaviour is attached to a grid builder, this method is called once the grid is created, and all cells(tiles) have been instantiated.

Override this to implement custom initialisation code. (You can access the grid through the Grid property).

public override void InitGrid()