1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 14:27:34 +00:00

2048: Refactor tile sliding and score logic out of attempt_move()

This commit is contained in:
Dmitrii Ubskii 2021-05-15 17:28:52 +03:00 committed by Linus Groh
parent 24c5b0e81c
commit 3e8220dec2
2 changed files with 13 additions and 2 deletions

View file

@ -47,6 +47,8 @@ public:
}
private:
bool slide_tiles(Direction);
void add_random_tile();
size_t m_grid_size { 0 };