forked from NaiJi/project-kyoku
Move HolderManager and ClassicGraphicsManager to context
parent
14c201e28d
commit
c2b23a4c59
@ -1,10 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "classicmode/noteinitializer.h"
|
||||
#include "classicmode/elementinitializer.h"
|
||||
|
||||
struct MockArrowNoteInitializer
|
||||
{
|
||||
NoteInitializer initializer;
|
||||
std::vector<ElementInitializer> elements;
|
||||
};
|
@ -1,32 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "classicmode/classicactions.h"
|
||||
|
||||
#include "core/gameevent.h"
|
||||
#include "core/point.h"
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <array>
|
||||
|
||||
class ClassicAnimationScenario;
|
||||
class ClassicNoteGraphics;
|
||||
class ClassicSelectionGraphics;
|
||||
|
||||
struct MockElement
|
||||
{
|
||||
std::shared_ptr<ClassicNoteGraphics> sprite;
|
||||
std::shared_ptr<ClassicSelectionGraphics> selection;
|
||||
bool selected;
|
||||
|
||||
std::array<std::shared_ptr<ClassicAnimationScenario>, 5> animations;
|
||||
|
||||
kku::Point position;
|
||||
std::vector<kku::Point> falling_curve_interpolation;
|
||||
|
||||
Type type = Type::NONE;
|
||||
|
||||
// Each note may consist of several buttons.
|
||||
// For example, ↑ → or ↓ → ←
|
||||
// Note Element represents this idea.
|
||||
};
|
Loading…
Reference in New Issue