Number Crush  1.0
..
Classes | Typedefs | Variables
type.h File Reference

Definition of usefull types or aliases for the project. More...

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

Go to the source code of this file.

Classes

struct  CMyParam
 Struct containing all the game's parameters. More...
 
struct  AuthorizedKey
 Struct containing all the authorized keys in the struct CMyParam. More...
 

Typedefs

typedef std::vector< unsigned > CVLine
 CVLine : alias to a line of the matrix.
 
typedef std::vector< CVLineCMat
 CMat : alias to a game grid type.
 
typedef std::pair< unsigned, unsigned > CPosition
 CPosition : a pair gathering the coordinates in the grid.
 

Variables

const AuthorizedKey KAuthorizedKey
 KAuthorizedKey.
 
const std::map< std::string, std::string > KColor
 KColor : map between the "human" color and its correspondence for the Unix terminal. More...
 

Detailed Description

Definition of usefull types or aliases for the project.

Author
Alain Casali
Marc Laporte
Version
1.0
Date
22 Janvier 2018

Definition in file type.h.

Variable Documentation

const std::map<std::string, std::string> KColor
Initial value:
{
{"KReset", "0"},
{"KBlack", "30"},
{"KRed", "31"},
{"KGreen", "32"},
{"KYellow", "33"},
{"KBlue", "34"},
{"KMAgenta", "35"},
{"KCyan", "36"},
}

KColor : map between the "human" color and its correspondence for the Unix terminal.

Definition at line 66 of file type.h.