Create test.cpp
This commit is contained in:
parent
f24635c9cd
commit
a960864893
1 changed files with 14 additions and 0 deletions
14
test.cpp
Normal file
14
test.cpp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#include "Engine.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
Engine e;
|
||||||
|
int pn = 0;
|
||||||
|
cout << "Welcome to Breakthrough server launcher, please enter a host port number: \n";
|
||||||
|
cin >> pn;
|
||||||
|
cin.clear();
|
||||||
|
cin.ignore(10000,'\n');
|
||||||
|
e.startGame(pn);
|
||||||
|
}
|
Reference in a new issue