31 #include "psyqo/scene.hh"
32 #include "psyqo/simplepad.hh"
48 void start(Scene::StartReason reason)
override;
49 void frame()
override;
50 void teardown(Scene::TearDownReason reason)
override;
72 void rotate(
unsigned rotation);
75 void recomputePeriod();
88 uint32_t m_fastPeriod;
91 uint8_t m_currentBlock, m_blockRotation;
93 int8_t m_blockX, m_blockY;
95 bool m_gameOver =
false;
96 bool m_paused =
false;
97 bool m_needsToUpdateFieldFragment =
false;
98 bool m_needsToUpdateBlockFragment =
false;
The Scene class.
Definition: scene.hh:42
Definition: simplepad.hh:68