Browse Source

added functions to change pieces and determine their number of different angles

feature/2015
Christian Kroll 15 years ago
parent
commit
f9dffee320
  1. 2
      games/tetris/piece.h

2
games/tetris/piece.h

@ -116,7 +116,7 @@ void tetris_piece_changeAngle(tetris_piece_t *pPc,
/* Function: tetris_piece_angleCount /* Function: tetris_piece_angleCount
* Description: returns the number of different angles * Description: returns the number of different angles
* Argument pPc: piece whose angle count is of interest * Argument pPc: piece whose angle count is of interest
* Return value: int8_t * Return value: number of different angles
*/ */
int8_t tetris_piece_angleCount(tetris_piece_t *pPc); int8_t tetris_piece_angleCount(tetris_piece_t *pPc);

Loading…
Cancel
Save