Beispiel #1
0
 internal void checkProfit()
 {
     // todo doesn't include taxes. Should it?
     if (artisansProduction == null || moneyIncomethisTurn.get() - artisansProduction.getExpences() <= 0f)
     {
         changeProductionType();
     }
 }
Beispiel #2
0
 internal void checkProfit()
 {
     // todo doesn't include taxes. Should it?
     if (artisansProduction == null ||
         moneyIncomeThisTurn.Copy().Subtract(artisansProduction.getExpences(), false).isZero())
     {
         changeProductionType();
     }
 }
Beispiel #3
0
 public void checkProfit()
 {
     // todo doesn't include taxes. Should it?
     if (artisansProduction == null ||
         Register.Income.Copy().Subtract(artisansProduction.getExpences(), false).isZero())
     {
         changeProductionType();
     }
 }