Add player motion and key controllers

This commit is contained in:
Rafostar
2020-10-12 16:25:54 +02:00
parent e2d6cc440d
commit d3e4f3bb0f
5 changed files with 46 additions and 35 deletions

View File

@@ -17,10 +17,6 @@ var Window = GObject.registerClass({
destroy_with_parent: true,
});
this.isFullscreen = false;
this.keyController = new Gtk.EventControllerKey();
this.add_controller(this.keyController);
this.mapSignal = this.connect('map', this._onMap.bind(this));
}