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