#include <Gridhunt.h>
Public Member Functions | |
| Gridhunt (int maxN=30, int maxE=30, int maxRounds=100) | |
| void | run (bool visual=true) |
| void | show () const |
| void | leaderBoard () const |
| void | setHunters (vector< Hunter * >) |
| void | setMonster (Monster *) |
Main class of the game.
| Gridhunt::Gridhunt | ( | int | maxN = 30, |
| int | maxE = 30, |
||
| int | maxRounds = 100 |
||
| ) |
Create a game with a grid (default: 30x30) and run the game for a maximum of maxRounds rounds
| void Gridhunt::leaderBoard | ( | ) | const |
Display current leader borad
| void Gridhunt::run | ( | bool | visual = true | ) |
Run the game. Turn detailed display on/off with visual.
1.7.4