Exemplo n.º 1
0
 public Component(int n, Ingredient.State s)
 {
     value = n;
     state = s;
 }
Exemplo n.º 2
0
 public void setState(Ingredient.State s)
 {
     state = s;
 }
Exemplo n.º 3
0
 public void liquefy()
 {
     state = Ingredient.State.Liquid;
 }
Exemplo n.º 4
0
 public Component(Ingredient ingredient)
 {
     value = ingredient.getAmount();
     state = ingredient.getstate();
 }
Exemplo n.º 5
0
 public Component(int n, Ingredient.State s)
 {
     value = n;
     state = s;
 }
Exemplo n.º 6
0
 public void liquefy()
 {
     state = Ingredient.State.Liquid;
 }
Exemplo n.º 7
0
 public void setState(Ingredient.State s)
 {
     state = s;
 }
Exemplo n.º 8
0
 public Component(Ingredient ingredient)
 {
     value = ingredient.getAmount();
     state = ingredient.getstate();
 }