Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: Grid(int, int)

Declaration

public Grid(
    int width,
    int height
)

Summary

Constructs a Chamf.Grid that forms a rectangle. Along the perimeter all the cells will be hexagons. Only squares internal to these hexagons are included.

Parameters

intwidth The number of squares in the x direction.
intheight The number of squares in the y direction.