Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: Hex Rotate(int)

  • Declared in: RT.Coordinates.Hex

Declaration

public Hex Rotate(
    int rotation
)

Summary

Rotates the current hex’s position within the grid about the center hex (0, 0) clockwise by the specified multiple of 60°.

Parameters

introtation Amount of rotation. For example, a value of 1 results in a clockwise rotation by 60°.