Who knows
This commit is contained in:
parent
eaf5a55d18
commit
32e50969b4
45 changed files with 38346 additions and 38306 deletions
36
main.cpp
36
main.cpp
|
|
@ -1,19 +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
|
||||
#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