mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:37:44 +00:00
2048: Refactor tile sliding and score logic out of attempt_move()
This commit is contained in:
parent
24c5b0e81c
commit
3e8220dec2
2 changed files with 13 additions and 2 deletions
|
@ -47,6 +47,8 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
bool slide_tiles(Direction);
|
||||
|
||||
void add_random_tile();
|
||||
|
||||
size_t m_grid_size { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue