Brick Game v1.0
Implementation of the game Tetris in the C programming language with a terminal user interface.
Loading...
Searching...
No Matches
PlayedPiece Struct Reference

State of the currently played piece. More...

#include <piece.h>

Data Fields

int x
 X offset of the upper left corner of the piece data.
 
int y
 Y offset of the upper left corner of the piece data.
 
int rotation
 Rotation of the piece, [0; 3].
 
PieceType piece_type
 The type of the piece being played.
 

Detailed Description

State of the currently played piece.


The documentation for this struct was generated from the following file: