Ejemplo n.º 1
0
 public void _on_GDKnyttButton_pressed()
 {
     GDKnyttKeys.applyAllSettings();
     GDKnyttKeys.saveSettings();
     ClickPlayer.Play();
     QueueFree();
 }
Ejemplo n.º 2
0
 public override void _Input(InputEvent @event)
 {
     if (collecting == null)
     {
         return;
     }
     if (@event.IsActionPressed("pause") || GDKnyttKeys.setAction(collecting.Action + cnum, @event))
     {
         finishCollecting();
     }
 }
Ejemplo n.º 3
0
 private void refreshButton(int num)
 {
     GetNode <Button>("Button" + num).Text = GDKnyttKeys.getValueString(Action + num);
 }