|
@ -93,5 +93,14 @@ void tetris_piece_rotate(tetris_piece_t *pPc, |
|
|
tetris_piece_rotation_t r); |
|
|
tetris_piece_rotation_t r); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Function: tetris_piece_change
|
|
|
|
|
|
* Description: changes the shape of a piece |
|
|
|
|
|
* Argument pPc: piece to change |
|
|
|
|
|
* Argument shape: the shape of interest |
|
|
|
|
|
* Return value: void |
|
|
|
|
|
*/ |
|
|
|
|
|
void tetris_piece_change(tetris_piece_t *pPc, |
|
|
|
|
|
tetris_piece_shape_t shape); |
|
|
|
|
|
|
|
|
#endif /*TETRIS_PIECE_H_*/ |
|
|
#endif /*TETRIS_PIECE_H_*/ |
|
|
|
|
|
|
|
|