Example #1
0
 public Component(int n, Ingredient.State s)
 {
     value = n;
     state = s;
 }
Example #2
0
 public void setState(Ingredient.State s)
 {
     state = s;
 }
Example #3
0
 public void liquefy()
 {
     state = Ingredient.State.Liquid;
 }
Example #4
0
 public Component(Ingredient ingredient)
 {
     value = ingredient.getAmount();
     state = ingredient.getstate();
 }