Table of Contents

Method AddHexTrace

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

AddHexTrace(int)

Appends one step to the stored hex-walk trace.

public void AddHexTrace(int direction)

Parameters

direction int

The side index to walk across from the current hexagon. Valid values are 0 through 5.

Remarks

The trace always starts from a hex centered at the local origin. Each stored direction moves to the adjacent hexagon that shares the corresponding segment of the current cell.