public void ChangeLocation(Location zone) { GreetingText = zone.GreetingText; HelpText = zone.HelpText; Output(GreetingText); }
public void DecipherAction(string command, Location commandOrigin) { CommandOrigin = commandOrigin; List<string> items = command.ToLower().Split(' ').ToList(); string[] commandKeywords = items.ToArray(); //accessible everywhere Commands(commandKeywords); }
//interactivity public void ChangeLocation(Location zone) { Front.ChangeLocation(zone); zone.ZoneLoop(); }
private void ChangeZone(Location destination) { CommandOrigin.InZone = false; CommandOrigin.NextLocation = destination; }