Exemplo n.º 1
0
 public void SetVal(Wstates w, bool val)
 {
     states[w].Value     = val; // set the value to the world state and assing it a true value into its is enabled boolean variable
     states[w].IsEnabled = true;
 }
Exemplo n.º 2
0
 public bool GetVal(Wstates w)
 {
     return(states[w].Value); // return the current value of the world state
 }