forked from NaiJi/project-kyoku
29 lines
456 B
C++
29 lines
456 B
C++
#ifndef APPLICATION_H
|
|
#define APPLICATION_H
|
|
|
|
#include <SFML/System/Clock.hpp>
|
|
#include <SFML/Window/Keyboard.hpp>
|
|
|
|
#include "timeline.h"
|
|
#include "note.h"
|
|
#include "game.h"
|
|
|
|
class Application
|
|
{
|
|
public:
|
|
Application();
|
|
void run();
|
|
void input();
|
|
void update();
|
|
void draw();
|
|
|
|
private:
|
|
sf::RenderWindow _game_window;
|
|
std::unique_ptr<Timeline> _timeline;
|
|
std::unique_ptr<Game> _game;
|
|
|
|
void exec();
|
|
};
|
|
|
|
#endif // APPLICATION_H
|