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

25 lines
551 B
C++

#pragma once
#include <memory>
#include "core/editor.h"
#include "tools/music.h"
#include "core/timeline.h"
class ClassicGraphicsManager;
class ClassicEditor : public Editor
{
public:
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;
std::shared_ptr<ClassicGraphicsManager> _graphics_manager;
Timeline<ClassicNote> _timeline;
};