Table of Contents

Class FlatHexParallelogramWrapper

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

Wraps points both horizontally and vertically.

Since version 1.7

public class FlatHexParallelogramWrapper : IPointWrapper<FlatHexPoint>
Inheritance
FlatHexParallelogramWrapper
Implements
Inherited Members
Extension Methods

Constructors

FlatHexParallelogramWrapper(int, int)

public FlatHexParallelogramWrapper(int width, int height)

Parameters

width int
height int

Methods

Wrap(FlatHexPoint)

Returns a new point, that corresponds to the wrapped version of the give point.

public FlatHexPoint Wrap(FlatHexPoint point)

Parameters

point FlatHexPoint

Returns

FlatHexPoint