#include "SimulatorGUI.hpp"
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <unistd.h>
Go to the source code of this file.
|
int | main (int argc, const char **argv) |
|
int main |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
Definition at line 82 of file SimulatorGUI.cpp.
84 int x=20, y=20, skill_points=20, bots_per_player=5, obstacles=30, naptime=3;
89 skill_points=atoi(argv[3]);
90 bots_per_player=atoi(argv[4]);
91 obstacles=atoi(argv[5]);
94 naptime=atoi(argv[6]);
96 naptime=atoi(argv[1]);
101 SimulatorGUI gui{
x,y,skill_points,bots_per_player,obstacles};
104 while(gui.do_timestep())
109 cout <<
"Failed with Robot Exception: " << e.
msg << endl;