Exemple #1
0
 public override void HandlePower(FlashLight fl)
 {
     fl.LightOn();
     fl.SetState(new On());
 }
Exemple #2
0
 public override void HandleMode(FlashLight fl)
 {
     fl.Flashing();
     fl.SetState(new Solid());
 }
Exemple #3
0
 public override void OnEnter(FlashLight fl)
 {
     fl.SetState(new Solid());
 }