Table of Contents

Class FlatRhombTileGridBuilder

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

Class for building a flat rhomb grid in the Unity editor.

This component should(generally) not be accessed directly.Instead, add your own component that inherits from GridBebaviour, and access the grid and map through there.

[Version(1, 8, 0)]
[AddComponentMenu("Gamelogic/GridBuilders/Tile Grids/Flat Rhomb Grid Builder")]
public class FlatRhombTileGridBuilder : TileGridBuilder<FlatRhombPoint>, ITileGrid<FlatRhombPoint>, IGridBuilderBase, IGLScriptableObject
Inheritance
FlatRhombTileGridBuilder
Implements
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

Properties

Grid

public FlatRhombGrid<TileCell> Grid { get; }

Property Value

FlatRhombGrid<TileCell>

GridShape

public FlatRhombTileGridBuilder.Shape GridShape { get; }

Property Value

FlatRhombTileGridBuilder.Shape

Map

public IMap3D<FlatRhombPoint> Map { get; }

Property Value

IMap3D<FlatRhombPoint>

Methods

CreateWindowedMap()

protected override WindowedMap<FlatRhombPoint> CreateWindowedMap()

Returns

WindowedMap<FlatRhombPoint>

GetColorFunc(int, int, int)

protected override Func<FlatRhombPoint, int> GetColorFunc(int x0, int x1, int y1)

Parameters

x0 int
x1 int
y1 int

Returns

Func<FlatRhombPoint, int>

InitGrid()

protected override void InitGrid()