Fix some things
This commit is contained in:
parent
4afa51e9e6
commit
fa88c91351
4 changed files with 20 additions and 13 deletions
33
src/main.cpp
33
src/main.cpp
|
@ -1,22 +1,29 @@
|
|||
|
||||
//----- STD include -----
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
//----------------------
|
||||
|
||||
<<<<<<< HEAD
|
||||
//----- Personnal include -----
|
||||
#include "./Model/Grid.hpp"
|
||||
=======
|
||||
#include "CTController/CTConsole.hpp"
|
||||
>>>>>>> 71ebf1235ed023425c2539eabf1d15ba922c1dda
|
||||
#include "./Controller/ConsoleController/ConsoleController.hpp"
|
||||
//-----------------------------
|
||||
|
||||
|
||||
//----- Start -----
|
||||
|
||||
int main()
|
||||
{
|
||||
srand(time(NULL));
|
||||
|
||||
CTConsole * controller = new CTConsole();
|
||||
|
||||
controller->play();
|
||||
|
||||
delete controller;
|
||||
|
||||
return 0;
|
||||
//Init random
|
||||
srand(time(NULL));
|
||||
|
||||
//Init console controller
|
||||
ConsoleController * controller = new ConsoleController();
|
||||
|
||||
controller->play();
|
||||
|
||||
delete controller;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue