sliding-puzzle/application.h

21 lines
310 B
C
Raw Normal View History

2020-12-13 19:45:52 +01:00
#pragma once
#include <SFML/Window/Keyboard.hpp>
#include "board.h"
class Application
{
public:
explicit Application();
void run();
void draw();
bool processInput();
private:
DIRECTION getDirection(sf::Keyboard::Key &key) const;
Board board;
sf::RenderWindow render_window;
};