FreeRTOS Tetris
Data Fields
tetromino Struct Reference

Structure representing a Tetromino. More...

#include <logic.h>

Collaboration diagram for tetromino:
Collaboration graph

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.
 

Detailed Description

Structure representing a Tetromino.


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