BIT-Studio-1 / project-23-1-orangehathackers

project-23-1-orangehathackers created by GitHub Classroom
0 stars 0 forks source link

Implementing simplified common case switch commands #43

Open Morrnc1 opened 1 year ago

Morrnc1 commented 1 year ago

Add a method that takes 2 values. (string input, string room) This will need to go in lace of the cases "NORTH":, "EAST":, "SOUTH":, "WEST":, "HELP": ,"INVENTORY":

There will need to be a string added which will be room. example: string room = "roomName"; With calling the method looking like this CondencedHelp(userinput, roomName);

Morrnc1 commented 1 year ago

UPDATE

The case switch has been made, if when you work on a method you could alterity accordingly. CODE

string room = "current room"
CondencedHelp(userinput, room)

Just an example.