17 #ifndef JAVASCRIPTLOGIC_H
18 #define JAVASCRIPTLOGIC_H
37 virtual void init()
override;
41 virtual void update()
override;
48 void invokeJavaScript(Method method);
52 #endif // JAVASCRIPTLOGIC_H
virtual void update() override
Invokes a JavaScript function updateFunc() if it is declaritively defined in Qml. ...
Extends Logic to include custom behavior defined via JavaScript code in Qml files.
Definition: JavaScriptLogic.h:31
virtual void init() override
Invokes a JavaScript function initFunc() if it is declaritively defined in Qml.
Non-visual entities in the QML item tree that define behavior for their parent Actor.
Definition: Logic.h:31