FreeRTOS Tetris
|
Structure representing a Tetromino. More...
#include <logic.h>
Data Fields | |
coord_t | position |
Position of top left square. | |
coord_t | newPosition |
New position to check. | |
tetromino_type_t | type |
Tetromino type. | |
int | rotation |
Tetrominos rotation. | |
color_t | color |
Tetrominos color. | |
color_t | shape [FIGURE_SIZE][FIGURE_SIZE] |
Array containing the Tetrominos shape. | |
color_t | newShape [FIGURE_SIZE][FIGURE_SIZE] |
Array to check a potential shape. | |
Structure representing a Tetromino.