Commit 7286b27f authored by Eli Chung's avatar Eli Chung
Browse files

Fixing merge conflict

parents c6093ffb 573ab858
#include "Boss"
#include <string>
#include <iostream>
using namespace std;
Boss::Boss(int floorNumber) {
switch(floorNumber) {
Boss boss;
case 1:
cout << "A Minotaur stands before you, Warhammer raised and nose pierced" << endl;
boss.setBossStats(seed);
cout << "What are you going to do?" << endl;
case 2:
cout << "The Pop-Culture representation of Death Itself stands before you, scythe poised and hungry" << endl;
boss.setBossStats(seed);
cout << "What are you going to do?" << endl;
case 3:
cout << "A Dragon stands before you. C'mon, you had to see this coming" << endl;
monster.setStats(seed);
cout << "What are you going to do?" << endl;
}
}
void Boss::setBossStats(int seed) {
srand(seed);
// Set Fight Stat and Modifier
int fight = getFight();
fight = rand() % 20;
setFight(fight);
// Set Flee Stat and Modifier
int flee = getFlee();
flee = rand() % 20;
setFlee(flee);
// Set Talk Stat and Modifier
int talk = getTalk();
talk = rand() % 20;
setTalk(talk);
}
\ No newline at end of file
#include <iostream>
#include <string>
using namespace std;
class Boss {
private:
public:
Boss(int);
void setBossStats(int);
};
\ No newline at end of file
This diff is collapsed.
// Monster.h
class Monster {
......@@ -6,4 +7,32 @@ class Monster {
string name;
int rewards;
/******************************************************************************
*
*
* Header File for the Monster Class
* By: Kameron Kinsey
*
*
*
*
*/
#include "Player.h"
#include <cstdlib>
#include <iostream>
using namespace std;
class Monster {
private:
string waygd = "What are you going to do?"
public:
Monster(int);
string getWaygd() { return waygd; }
void setMonsterStats(int);
};
\ No newline at end of file
Supports Markdown
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