private bool GetInput() { var command = _inputHandler.GetCommand(); switch (command) { case Command.MoveLeft: case Command.MoveRight: case Command.MoveUp: case Command.MoveDown: var playerPoint = _world.GetPlayer(); bool result = MoveObject(command, playerPoint); break; case Command.Quit: return(true); case Command.Restart: _world.Reset(); RequiresRedraw = true; break; } return(false); }