Esempio 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;
 }
Esempio n. 2
0
 public bool GetVal(Wstates w)
 {
     return(states[w].Value); // return the current value of the world state
 }