catch me if you can  0.1
Functions
game.cpp File Reference
#include <iostream>
#include "game.h"
#include "params.h"
#include "gridmanagement.h"
#include <map>
Include dependency graph for game.cpp:

Go to the source code of this file.

Functions

template<class T , class U >
void ShowMap (const map< T, U > &AMap)
 
void MoveToken (CMat &Mat, const char &Move, CPosition &Pos)
 Move the current token according to the character in the 2nd parameter. More...
 
int ppal (void)
 new main More...
 

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:

template<class T , class U >
void ShowMap ( const map< T, U > &  AMap)

Definition at line 10 of file game.cpp.