stash
This commit is contained in:
commit
065d543d4d
262 changed files with 38368 additions and 0 deletions
19
main.cpp
Normal file
19
main.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#include <iostream> // for standard input/output
|
||||
using namespace std; // using the standard namespace
|
||||
|
||||
#include "Game.h"
|
||||
#include "Menu.h"
|
||||
|
||||
int main() {
|
||||
// display "Hello, World!" -- this still appears in our Run terminal as before
|
||||
cout << "Hello, World!" << endl;
|
||||
|
||||
int result = EXIT_SUCCESS;
|
||||
while (result == EXIT_SUCCESS) {
|
||||
Menu m;
|
||||
result = m.result;
|
||||
if (result == EXIT_SUCCESS) Game g(m.soundOn, m.musicOn);
|
||||
}
|
||||
|
||||
return EXIT_SUCCESS; // report our program exited successfully
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue