// Obtain current number of specified objects
    public int getNoOfSpawns(ESpawnSelection whichObject)
    {
        switch (whichObject)
        {
        case ESpawnSelection.RULES:
            return(playerObjectsComponent.AmtOfRules);

        case ESpawnSelection.PLAYERS:
            return(playerObjectsComponent.AmtOfPlayers);
        }
        return(0);
    }
    // Spawn specified game object type
    public void StartSpawn(ESpawnSelection whatToSpawn)
    {
        switch (whatToSpawn)
        {
        case ESpawnSelection.PEDESTRIANS:
            pedestrianComponent.StartSpawn();
            break;

        case ESpawnSelection.VEHICLES:
            vehicleComponent.StartSpawn();
            break;

        case ESpawnSelection.RULES:
            playerObjectsComponent.SpawnRules();
            break;

        case ESpawnSelection.PLAYERS:
            playerObjectsComponent.SpawnPlayer();
            break;
        }
    }