diff --git a/Monster.cpp b/Monster.cpp index 5ce308b85fd029ff7eca77c63ce2e787bcdfb9fb..5847d5fd79d12d56716983a707873af65d886973 100644 --- a/Monster.cpp +++ b/Monster.cpp @@ -82,7 +82,7 @@ Monster::summon(int encounterNum) { } } -int Monster::setFight(int encounterNum) { +int Monster::getFight(int encounterNum) { switch (encounterNum) { case 1: @@ -149,7 +149,7 @@ int Monster::setFight(int encounterNum) { } } -int Monster::setTalk(int encounterNum) { +int Monster::getTalk(int encounterNum) { switch (encounterNum) { case 1: @@ -280,3 +280,67 @@ void Monster::giveItems(int encounterNum, Inventory inventory) { } } +void Monster::monsterResponse(int encounterNum, int playerWon) { + + switch(encounterNum) { + case 1: + // Toilet + cout << "You have successfully defeated the Toilet, better wash your clothes afterward though. . ." << endl; + case 2: + // Green Bar + cout << "You now feel doubly accomplished at the defeat of the Green Bar" << endl; + case 3: + // Potato + cout << "You have defeated the potato, it wasn't that difficult, but y'know" << ednl; + case 4: + // Nazi + cout << "You have defeated the Nazi. He deserved it anyways" << endl; + case 5: + // Waffles + cout << "They were just waffles. . . really. . . you monster" << endl; + case 6: + // Not so Obvious Trap + cout << "You have successfully defeated the woman, she blows you a kiss" << endl; + case 7: + // Game Devs + cout << "You have been allowed to defeat us" << endl; + case 8: + // Human + cout << "You have successfully defeated the human" << endl; + case 9: + // Mirror + cout << "Ok that was rude I'll be honest but wow, you kinda went overboard on that mirror" << endl; + case 10: + // Door + cout << "You have successfully escaped that situation" << endl; + case 11: + // Princess + cout << "You have successfully stayed on task" << endl; + case 12: + // EA + cout << "You have defeated EA for now, but they'll be back. They'll always be back" << endl; + case 13: + // Ghost + cout << "You have defeated Carl in a Sheet" << endl; + case 14: + // Textbook + cout << "You have defeated the shame of ignoring your studies" << endl; + case 15: + // Hobo + cout << "You have defeated the Hobo" << endl; + case 16: + // 1 Direction + cout << "You have defeated 1 Direction" << endl; + case 17: + // Doll + cout << "You have deafeated the doll" << endl; + case 18: + // Real Slim Shady + cout << "You have defeated the Real Slim Shady" << endl; + case 19: + // Depression + cout << "You have defeated depression. . . for now. . ." << endl; + case 20: + // Blue + cout << "The color Blue has been defeated" << endl; +} \ No newline at end of file diff --git a/Monster.h b/Monster.h index 441222bd771958806a971fe1aac9078dce138a14..857d5ef4e8149ecc249751e1a3b19180429abbd4 100644 --- a/Monster.h +++ b/Monster.h @@ -16,7 +16,8 @@ using namespace std; class Monster { private: - int fight, talk; + int fight; + int talk; public: // Get Functions @@ -24,6 +25,9 @@ class Monster { int getTalk(int encounterNum); // Other Functions - summon(int encounterNum); + void summon(int encounterNum); + void giveitems(int encounterNum, int Inventory inventory); + void monsterResponse(int encounterNum, int playerWon); + }; \ No newline at end of file