project-kyoku/modes/classicmode/editor/classiceditor.h

26 lines
581 B
C
Raw Normal View History

2021-10-05 20:48:28 +02:00
#pragma once
2021-11-02 18:47:42 +01:00
#include <memory>
2021-10-05 20:48:28 +02:00
#include "core/editor.h"
2021-11-02 18:47:42 +01:00
#include "tools/music.h"
#include "core/timeline.h"
#include "game/classicnote.h"
class ClassicGraphicsManager;
2021-10-05 20:48:28 +02:00
class ClassicEditor : public Editor
{
public:
2021-11-02 18:47:42 +01:00
explicit ClassicEditor(std::shared_ptr<ClassicGraphicsManager>&& manager);
virtual void input(PlayerInput&& inputdata) override;
virtual void update(const sf::Time& dt) override;
virtual void draw() const override;
private:
Music _music;
2021-10-05 20:48:28 +02:00
2021-11-02 18:47:42 +01:00
std::shared_ptr<ClassicGraphicsManager> _graphics_manager;
Timeline<ClassicNote> _timeline;
2021-10-05 20:48:28 +02:00
};