--- 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)
}
}