forked from NaiJi/project-kyoku
Add ClassicEditor basis
This commit is contained in:
parent
cfc8706c23
commit
7f7045c920
|
@ -1,6 +1,21 @@
|
|||
#include "classiceditor.h"
|
||||
|
||||
ClassicEditor::ClassicEditor()
|
||||
ClassicEditor::ClassicEditor(std::shared_ptr<ClassicGraphicsManager>&& manager)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ClassicEditor::input(PlayerInput&& inputdata)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ClassicEditor::update(const sf::Time& dt)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ClassicEditor::draw() const
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -1,13 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include "core/editor.h"
|
||||
#include "tools/music.h"
|
||||
#include "core/timeline.h"
|
||||
#include "game/classicnote.h"
|
||||
|
||||
class ClassicGraphicsManager;
|
||||
|
||||
class ClassicEditor : public Editor
|
||||
{
|
||||
public:
|
||||
explicit ClassicEditor();
|
||||
explicit ClassicEditor(std::shared_ptr<ClassicGraphicsManager>&& manager);
|
||||
|
||||
virtual void input(PlayerInput&& inputdata) = 0;
|
||||
virtual void update(const sf::Time& dt) = 0;
|
||||
virtual void draw() const = 0;
|
||||
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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue