back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/gameplay.hpp
blob: 9c26f5baaf8be0b4d03c28ac3dd1e1735209b538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GAMEPLAY_HPP_SENTRY
#define GAMEPLAY_HPP_SENTRY

#include "puzzle.hpp"

void press_button_callback(Fl_Widget *w, void *params);
bool is_next_to_empty_box(GameParams::coordinates empty_box_pos,
                          GameParams::coordinates current_pos);

class PuzzleGame {
public:
    static bool IsFinalPlacement(GameParams *gp);
    static void StartGame(GameParams *gp);
};

#endif