Exemplo n.º 1
0
    //switch current station to the new station
    public void SwitchStation(station newStation)
    {
        print(newStation.ToString());
        currentStation = newStation;

        switch (newStation)
        {
        case station.crafting: Crafting();
            break;

        case station.packaging: Packaging();
            break;

        case station.sorting: Sorting();
            break;
        }
    }