aboutsummaryrefslogtreecommitdiff
path: root/src/games/tetris/Tetris.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/games/tetris/Tetris.hpp')
-rw-r--r--src/games/tetris/Tetris.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/games/tetris/Tetris.hpp b/src/games/tetris/Tetris.hpp
index 2d1dfba..1c60a98 100644
--- a/src/games/tetris/Tetris.hpp
+++ b/src/games/tetris/Tetris.hpp
@@ -1,9 +1,11 @@
#pragma once
+#include <common/defs.hpp>
#include <games/Game.hpp>
#include <games/tetris/Tetromino.hpp>
#include <games/tetris/Board.hpp>
#include <common/Font.hpp>
+#include <common/Arena.hpp>
class Tetris : public Game {
@@ -51,7 +53,7 @@ private:
int32_t m_softdrop_counter = 0;
int32_t m_highscore = 0;
- std::vector<std::u32string> m_frame_strings;
+ Arena m_frame_arena {KIBIBYTES(2)};
};