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

Set of usefull functions for the game. More...

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

Go to the source code of this file.

Functions

void MoveToken (CMat &Mat, const char &Move, CPosition &Pos)
 Move the current token according to the character in the 2nd parameter. More...
 
int ppal ()
 new main More...
 

Detailed Description

Set of usefull functions for the game.

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

Definition in file game.h.

Function Documentation

void MoveToken ( CMat Mat,
const char &  Move,
CPosition Pos 
)

Move the current token according to the character in the 2nd parameter.

Parameters
[in,out]Matthe matrix before and after the move
[in]Movethe key pressed by the user
[in,out]Posthe player's position before and after the move

Definition at line 15 of file game.cpp.

Here is the caller graph for this function:

int ppal ( void  )

new main

Returns
0 if everything is OK

Definition at line 54 of file game.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: