private void Process(GotoCommand command) { if (command.area != GotoCommand.Areas.Game) { solver = null; } if (command.area == GotoCommand.Areas.Stasis) { Output.Post(new PlayerInput(BotId, new PlayerNameInput(Name))); } }
private void Process(MazeFieldCommand command) { solver = new MazeSolver(command.field, depth); }