Number Crush
1.0
..
|
#include <iostream>
#include <iomanip>
#include "gridmanagement.h"
#include "Correc_prof/type.h"
#include "Correc_prof/params.h"
Go to the source code of this file.
Functions | |
void | ClearScreen () |
Clear the current terminal. More... | |
void | Color (const string &Col) |
void | DisplayGridWithLineAndColumnNumbersAndColor (const CMat &Mat, const CMyParam &Param) |
Display the grid showing the line and the column numbers. Everything is colored according to the set of parameters. More... | |
void | DisplayGridWithLineAndColumnNumbers (const CMat &Mat) |
Display the grid showing the line and the column numbers. More... | |
void | DisplayGrid (const CMat &Mat, const CMyParam &Param, bool ShowLineNumber, bool ShowColor) |
Display the grid according to the parameters. More... | |
void | InitGrid (CMat &Grid, unsigned Size) |
void ClearScreen | ( | ) |
Clear the current terminal.
Definition at line 12 of file gridmanagement.cpp.
void Color | ( | const string & | Col | ) |
void DisplayGrid | ( | const CMat & | Mat, |
const CMyParam & | Params, | ||
bool | ShowLineNumber = true , |
||
bool | ShowColor = true |
||
) |
Display the grid according to the parameters.
[in] | Mat | : Game grid |
[in] | Params | : : List of usefull parameters |
ShowLineNumber | : true if we want to show line and color numbers, false otherwise. | |
ShowColor | : true if we want to color the grid, false otherwise. |
Definition at line 96 of file gridmanagement.cpp.
void DisplayGridWithLineAndColumnNumbers | ( | const CMat & | Mat | ) |
Display the grid showing the line and the column numbers.
[in] | Mat | : Game grid |
Definition at line 75 of file gridmanagement.cpp.
Display the grid showing the line and the column numbers. Everything is colored according to the set of parameters.
[in] | Mat | : Game grid |
[in] | Params | : List of usefull parameters |
Definition at line 23 of file gridmanagement.cpp.
void InitGrid | ( | CMat & | Grid, |
unsigned | Size | ||
) |
Definition at line 120 of file gridmanagement.cpp.