qmlfrontend/engine_instance.h
changeset 14863 ef9630519491
parent 14734 cc6ab1e3f7d5
child 14875 aed75d439027
--- a/qmlfrontend/engine_instance.h	Fri Apr 26 23:21:27 2019 +0200
+++ b/qmlfrontend/engine_instance.h	Fri Apr 26 23:21:58 2019 +0200
@@ -18,8 +18,6 @@
   Q_PROPERTY(bool isValid READ isValid NOTIFY isValidChanged)
 
   void sendConfig(const GameConfig& config);
-  void advance(quint32 ticks);
-  void moveCamera(const QPoint& delta);
   void renderFrame();
   void setOpenGLContext(QOpenGLContext* context);
   QImage generatePreview();
@@ -30,6 +28,9 @@
   void isValidChanged(bool isValid);
 
  public slots:
+  void advance(quint32 ticks);
+  void moveCamera(const QPoint& delta);
+  void controlEvent(bool isStart, int type);
 
  private:
   Engine::EngineInstance* m_instance;