xTetris-Game
Loading...
Searching...
No Matches
manageStruct.h
Go to the documentation of this file.
1#ifndef MANAGESTRUCT_H
2#define MANAGESTRUCT_H
3
4
5#include "struct.h"
6
12
17void destroyBoard(BoardPtr board);
18
19
25
30void destroyMove(MovePtr storeMove);
31
32
38
44
45
46#endif
BoardPtr initializeBoard(void)
Allocate memory for BoardPtr struct.
void destroyTetromino(TetrominoPtr parts)
Free the TetrominoPtr struct passed as parameter.
void destroyBoard(BoardPtr board)
Free the BoardPtr struct passed as parameter.
TetrominoPtr initializeTetrominoes(void)
Allocate memory for TetraminoPtr struct.
MovePtr initializeMove(void)
Allocate memory for MovePtr struct.
void destroyMove(MovePtr storeMove)
Free the MovePtr struct passed as parameter.
Definition struct.h:5
Definition struct.h:10