Commit f52f627b authored by Aaron Sturtevant's avatar Aaron Sturtevant

commiting

parent 4ec7d344
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
* *
* *
*/ */
#ifndef BOSS_H
#define BOSS_H
#include <iostream> #include <iostream>
#include <string> #include <string>
...@@ -27,4 +29,6 @@ class Boss { ...@@ -27,4 +29,6 @@ class Boss {
void bossResponse(int floorNum, int playerWon); void bossResponse(int floorNum, int playerWon);
void giveBossItems(int floorNum, Inventory inventory); void giveBossItems(int floorNum, Inventory inventory);
}; };
\ No newline at end of file
#endif
\ No newline at end of file
#include <iostream>
#include <iomanip>
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
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
* *
* *
*/ */
#ifndef MONSTER_H
#define MONSTER_H
#include "Item.h" #include "Item.h"
#include <cstdlib> #include <cstdlib>
...@@ -30,4 +32,6 @@ class Monster { ...@@ -30,4 +32,6 @@ class Monster {
void monsterResponse(int encounterNum, int playerWon); void monsterResponse(int encounterNum, int playerWon);
}; };
\ No newline at end of file
#endif
\ No newline at end of file
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
* *
*/ */
#ifndef PLAYER_H
#define PLAYER_H
#include <cstring> #include <cstring>
#include <iostream> #include <iostream>
using namespace std; using namespace std;
...@@ -35,4 +38,6 @@ class Player { ...@@ -35,4 +38,6 @@ class Player {
// Check Victory // Check Victory
bool checkVictory(bool win); bool checkVictory(bool win);
}; };
\ No newline at end of file
#endif
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment