catch me if you can  0.1
Functions
gridmanagement.h File Reference

Set of usefull functions for the grid management. More...

#include <string>
#include "type.h"
Include dependency graph for gridmanagement.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ClearScreen ()
 Clear the current terminal. More...
 
void Color (const std::string &Col)
 Set the color of the future input in the terminal. More...
 
void DisplayGrid (const CMat &Mat)
 
void InitGrid (CMat &Mat, unsigned NbLine, unsigned NbColumn, CPosition &PosPlayer1, CPosition &PosPlayer2)
 

Detailed Description

Set of usefull functions for the grid management.

Author
Alain Casali
Marc Laporte
Version
1.0
Date
18 décembre 2018

Definition in file gridmanagement.h.

Function Documentation

void ClearScreen ( )

Clear the current terminal.

Definition at line 12 of file gridmanagement.cpp.

Here is the caller graph for this function:

void Color ( const std::string &  Col)

Set the color of the future input in the terminal.

Parameters
[in]Col: Next color to be used
void DisplayGrid ( const CMat Mat)

Definition at line 23 of file gridmanagement.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitGrid ( CMat Mat,
unsigned  NbLine,
unsigned  NbColumn,
CPosition PosPlayer1,
CPosition PosPlayer2 
)

Definition at line 58 of file gridmanagement.cpp.

Here is the caller graph for this function: