project-kyoku/src/modes/classicmode/game/mockelement.h

33 lines
697 B
C
Raw Normal View History

2022-02-06 02:33:09 +01:00
#pragma once
#include "classicmode/classicactions.h"
#include "core/gameevent.h"
#include "core/point.h"
#include <memory>
#include <vector>
#include <array>
class ClassicAnimationScenario;
class ClassicSprite;
class ClassicSelection;
struct MockElement
{
std::shared_ptr<ClassicSprite> sprite;
std::shared_ptr<ClassicSelection> 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.
};