This commit is contained in:
bMorgan01 2021-04-27 14:42:08 -06:00
commit 065d543d4d
262 changed files with 38368 additions and 0 deletions

19
main.cpp Normal file
View 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
}