2021-11-23 13:35:13 -05:00
|
|
|
#pragma once
|
|
|
|
|
2021-11-24 13:21:30 -05:00
|
|
|
#include <memory>
|
|
|
|
#include <array>
|
|
|
|
|
2021-12-28 13:04:50 -05:00
|
|
|
#include "mockelement.h"
|
|
|
|
#include "game/classicnote.h"
|
2021-11-23 13:35:13 -05:00
|
|
|
#include "initializers/mockarrownoteinitializer.h"
|
|
|
|
|
2021-12-28 13:04:50 -05:00
|
|
|
class MockClassicNote : public ClassicNote
|
2021-11-23 13:35:13 -05:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
explicit MockClassicNote(MockArrowNoteInitializer&& init);
|
2021-11-24 13:21:30 -05:00
|
|
|
virtual ~MockClassicNote() override = default;
|
2021-11-23 13:35:13 -05:00
|
|
|
|
2021-12-28 13:04:50 -05:00
|
|
|
virtual void putToGame() override;
|
|
|
|
virtual void update(const microsec &music_offset) override;
|
|
|
|
virtual void input(PlayerInput&& inputdata) override;
|
2021-11-24 13:21:30 -05:00
|
|
|
|
2021-12-28 13:04:50 -05:00
|
|
|
virtual void display(const ClassicGraphicsManager * const manager) const override;
|
|
|
|
virtual void setGraphics(ClassicGraphicsManager * const manager, TimeRange&& range) override;
|
2021-11-24 13:21:30 -05:00
|
|
|
|
2021-12-27 17:10:06 -05:00
|
|
|
private:
|
2021-11-24 13:21:30 -05:00
|
|
|
std::vector<MockElement> _elements;
|
|
|
|
|
|
|
|
State _state;
|
|
|
|
const Context *_context;
|
2021-11-23 13:35:13 -05:00
|
|
|
};
|