Example #1
0
 public Choice( Game game, int length, bool loop, ChoiceController controller, int waitTime = 0, int spanTime = 0 )
     : base(game)
 {
     this.Length = length;
     this.Loop = loop;
     this.WaitTime = waitTime;
     this.SpanTime = spanTime;
     SetController( controller );
 }
Example #2
0
 public void SetController( ChoiceController controller )
 {
     this.input = controller.InputDevice;
     this.NextKey = controller.NextKey;
     this.PreviousKey = controller.PreviousKey;
     this.DecideKey = controller.DecideKey;
     this.CancelKey = controller.CancelKey;
 }