Module tetrs::field [] [src]

A tetris playfield.

A Field manages the state of previously placed blocks. A Field is not aware of blocks themselves for the most part, besides the freeze function.

Structs

Field

A Field is simply a 2-D Vec with some corresponding options.

FieldOptions

Optional values which can be set when initializing a Field.