Beispiel #1
0
    public string DEBUG_GetSelectionText()
    {
        string s = "";

        s += "Wstrzymane: " + Halted.ToString() + "\n";

        s += "Pracująca postać: ";
        if (WorkingCharacter != null)
        {
            s += WorkingCharacter.Name;
        }
        s += "\n";

        s += "Pozostały czas produkcji: ";
        if (ProductionStarted)
        {
            s += productionTimeLeft + "\n";
        }
        else
        {
            s += "nie rozpoczęta \n";
        }

        if (RemainingProductionCycles >= 0)
        {
            s += "Pozostałe cykle produkcji: " + RemainingProductionCycles + "\n";
        }

        s += InputStorage.DEBUG_GetSelectionText();
        s += OutputStorage.DEBUG_GetSelectionText();

        return(s);
    }
Beispiel #2
0
 public bool IsReadyForDeconstruction()
 {
     return(InputStorage.IsReadyForDeconstruction() &&
            OutputStorage.IsReadyForDeconstruction() &&
            Halted && WorkingCharacter == null);
 }