Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: Rhombihexadel(int, int, Rhombihexadel.Tile)

Declaration

public Rhombihexadel(
    int q,
    int r,
    Rhombihexadel.Tile subtile
)

Summary

Constructor.

Parameters

intq The Q-coordinate of the hex tile that subtile is relative to.
intr The R-coordinate of the hex tile that subtile is relative to.
Rhombihexadel.Tilesubtile The subtile adjacent to the hex tile. Note that for tiles not listed in the Rhombihexadel.Tile enum, you will have to choose an adjoining hex. For example, a hex’s “top-left square” is the Rhombihexadel.Tile.BottomRightSquare of the hexagon that is Hex.Direction.UpLeft from it.