qmlfrontend/Page1.qml
changeset 15222 b32c52c76977
parent 14920 a3ad06ac390e
--- a/qmlfrontend/Page1.qml	Fri Jul 05 23:40:03 2019 +0300
+++ b/qmlfrontend/Page1.qml	Sat Jul 06 00:31:54 2019 +0200
@@ -57,13 +57,11 @@
 
   Keys.onPressed: {
     if (event.key === Qt.Key_Enter)
-      gameView.engineInstance.longEvent(EngineInstance.Attack,
-                                        EngineInstance.Set)
+      gameView.engineInstance.longEvent(Engine.Attack, Engine.Set)
   }
 
   Keys.onReleased: {
     if (event.key === Qt.Key_Enter)
-      gameView.engineInstance.longEvent(EngineInstance.Attack,
-                                        EngineInstance.Unset)
+      gameView.engineInstance.longEvent(Engine.Attack, Engine.Unset)
   }
 }