Table of Contents

Class FEVMaze

Namespace
Gamelogic.Grids2.Examples
Assembly
Assembly-CSharp.dll

FEVMaze is a special behavior that treats a RectGrid as a maze, which cells have a meaning depending on their positioning in the grid.

Rect Grid:

. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .

Seen as FEVMaze (Face, Edge, Vertices):

V E V E V E V E V
E F E F E F E F E
V E V E V E V E V
E F E F E F E F E
V E V E V E V E V
E F E F E F E F E
V E V E V E V E V

In the FEVMaze, Face is a Room, Edge is a Wall, and Vertices are there but are not treated by the algorithm.

public class FEVMaze : GridBehaviour<GridPoint2, TileCell>
Inheritance
FEVMaze
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)
Object.Instantiate<T>(T, Vector3, Quaternion)
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

Fields

algorithm

public FEVMaze.MazeAlgorithm algorithm

Field Value

FEVMaze.MazeAlgorithm

closedColor

public Color closedColor

Field Value

Color

factor

public int factor

Field Value

int

openColor

public Color openColor

Field Value

Color

repeatGridRadius

public int repeatGridRadius

Field Value

int

smallGridRadius

[Header("Product")]
public int smallGridRadius

Field Value

int

startRadius

[Header("Two Step")]
public int startRadius

Field Value

int

symmetry

public RectFEV.Symmetry symmetry

Field Value

RectFEV.Symmetry

Methods

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 initialization code. (You can access the grid through the Grid property).

public override void InitGrid()