UpdateUIState() public method

The controller needs to be able to change the UI. Enabling buttons, changing the values in text boxes...
public UpdateUIState ( string name, SlaveLaser state ) : void
name string
state SlaveLaser
return void
Example #1
0
 public void ArmLock()
 {
     lState = LaserState.LOCKING;
     controller.UpdateUIState(Name, lState);
 }