Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (CatchAnswer <= 0 || CatchAnswer >= 4)
- {
- Console.WriteLine("That is not a valid choice, you must choose one of the three equip options.");
- break;
- }
- if (CatchAnswer == 1)
- {
- Weapon Sword = new Weapon();
- //action happens here somehow
- Sword.Equip(WarriorCharacter);
- Console.WriteLine("You have equipped Your Sword.\n");
- }
- if (CatchAnswer == 2)
- {
- Chestpiece E_Chestpiece = new Chestpiece();
- E_Chestpiece.Equip(WarriorCharacter);
- Console.WriteLine("You have equipped your Chestpiece.\n");
- }
- if (CatchAnswer == 3)
- {
- Helmet E_Helmet = new Helmet();
- E_Helmet.Equip(WarriorCharacter);
- Console.WriteLine("You have equipped your helmet.\n");
- }
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement