public override void HandleMode(FlashlightGof context)
 {
     context.StartFlash();
     context.SetState(new Flashing());
 }
 public override void HandleMode(FlashlightGof context)
 {
     context.StartSolid();
     context.SetState(new Solid());
 }
 public override void HandlePower(FlashlightGof context)
 {
     //Denne kode burde aldrig køre
     context.LightOff();
     context.SetState(new Off());
 }
 public override void HandlePower(FlashlightGof context)
 {
     context.SetState(new On());
 }
 public override void OnEnter(FlashlightGof context)
 {
     context.StartSolid();
     context.SetState(new Solid());
 }