diff --git a/Boss.h b/Boss.h index b00f0508a4a0c3b07d60f2a1bd7335bdf9c8bf88..035ec4f35bd74a619ffac5607f0461ac75c7af73 100644 --- a/Boss.h +++ b/Boss.h @@ -8,6 +8,8 @@ * * */ +#ifndef BOSS_H +#define BOSS_H #include #include @@ -27,4 +29,6 @@ class Boss { void bossResponse(int floorNum, int playerWon); void giveBossItems(int floorNum, Inventory inventory); -}; \ No newline at end of file +}; + +#endif \ No newline at end of file diff --git a/Main.cpp b/Main.cpp deleted file mode 100644 index 76e08408feba4ae2625b0781c390257ef077ee1e..0000000000000000000000000000000000000000 --- a/Main.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include -#include - -using namespace std; - -void outputMenu(); - -int main() { - - //intro menu - outputMenu(); - -} - -void outputMenu() { - - - cout << "Welcome to Dungen;;The Experience()" << endl; - cout << "-----------------------------------" << endl; - - cout << "- (S)tart new game" << endl; - cout << "- (R)esume game" << endl; - cout << "- (Q)uit game" << endl; - - cin >> input; - - ifstream fin; - fin.open("file.txt"); - switch(input) { - case 'S': - //runs game - break; - case 'R': - fin >> seed; - break; - case 'Q': - exit(0); - break; - } - fin.close(); -} \ No newline at end of file diff --git a/Monster.h b/Monster.h index 857d5ef4e8149ecc249751e1a3b19180429abbd4..67bfb4b680542f88d72f9356c0c8886b5ec45c08 100644 --- a/Monster.h +++ b/Monster.h @@ -8,6 +8,8 @@ * * */ +#ifndef MONSTER_H +#define MONSTER_H #include "Item.h" #include @@ -30,4 +32,6 @@ class Monster { void monsterResponse(int encounterNum, int playerWon); -}; \ No newline at end of file +}; + +#endif \ No newline at end of file diff --git a/Player.h b/Player.h index 8e66335f9aad1b5b14845f7d4064d590552dc641..d063c627bb013ad161ab2061b59a3bc0bc44169c 100644 --- a/Player.h +++ b/Player.h @@ -9,6 +9,9 @@ * */ +#ifndef PLAYER_H +#define PLAYER_H + #include #include using namespace std; @@ -35,4 +38,6 @@ class Player { // Check Victory bool checkVictory(bool win); -}; \ No newline at end of file +}; + +#endif \ No newline at end of file