private void inputControl(string key)
        {
            switch (key)
            {
            case "faster":
                if (SimulationSpeed < 1000)
                {
                    SimulationSpeed = SimulationSpeed * 2;
                }
                ViewController.setSpeedText("X" + SimulationSpeed);
                break;

            case "slower":
                if (SimulationSpeed > 0.1)
                {
                    SimulationSpeed = SimulationSpeed * 0.5;
                }
                ViewController.setSpeedText("X" + SimulationSpeed);
                break;

            case "pause":
                IsPaused = !IsPaused;
                break;

            case "back":
                ModelController.mapBackFiveSeconds();
                break;

            case "toggleDebugMode":
                debugMode = !debugMode;
                break;

            case "add1":
                ModelController.newAstroids(1);
                break;

            case "add2":
                ModelController.newAstroids(2);
                break;

            case "add3":
                ModelController.newAstroids(3);
                break;

            case "switchCollision":
                if (_collisionDetection.GetType() == typeof(QuadTreeCollision))
                {
                    _collisionDetection = new NaiveCollision();
                }
                else
                {
                    _collisionDetection = new QuadTreeCollision();
                }
                break;

            case "switchPathing":
                if (_pathing.GetType() == typeof(DijkstraSearch))
                {
                    _pathing = new BFSearch();
                }
                else
                {
                    _pathing = new DijkstraSearch();
                }
                break;

            case "remove1":
                ModelController.removeAstroids(1);
                break;

            case "remove2":
                ModelController.removeAstroids(2);
                break;

            case "remove3":
                ModelController.removeAstroids(3);
                break;

            default:
                break;
            }
        }