85 |
85 |
86 void EngineInstance::moveCamera(const QPoint& delta) { |
86 void EngineInstance::moveCamera(const QPoint& delta) { |
87 move_camera(m_instance, delta.x(), delta.y()); |
87 move_camera(m_instance, delta.x(), delta.y()); |
88 } |
88 } |
89 |
89 |
90 void EngineInstance::simpleEvent(SimpleEventType event_type) { |
90 void EngineInstance::simpleEvent(Engine::SimpleEventType event_type) { |
91 simple_event(m_instance, event_type); |
91 simple_event(m_instance, event_type); |
92 } |
92 } |
93 |
93 |
94 void EngineInstance::longEvent(LongEventType event_type, LongEventState state) { |
94 void EngineInstance::longEvent(Engine::LongEventType event_type, |
|
95 Engine::LongEventState state) { |
95 long_event(m_instance, event_type, state); |
96 long_event(m_instance, event_type, state); |
96 } |
97 } |
97 |
98 |
98 void EngineInstance::positionedEvent(PositionedEventType event_type, qint32 x, |
99 void EngineInstance::positionedEvent(Engine::PositionedEventType event_type, |
99 qint32 y) { |
100 qint32 x, qint32 y) { |
100 positioned_event(m_instance, event_type, x, y); |
101 positioned_event(m_instance, event_type, x, y); |
101 } |
102 } |
102 |
103 |
103 void EngineInstance::renderFrame() { render_frame(m_instance); } |
104 void EngineInstance::renderFrame() { render_frame(m_instance); } |
104 |
105 |