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

23 lines
422 B
C++

#pragma once
#include "core/gameevent.h"
#include <vector>
#include <memory>
class ClassicArrowNote;
class ClassicGraphicsManager;
class HoldManager
{
public:
void emplace(ClassicArrowNote* note);
void checkRelease(kku::SystemEvent::Key::Code released_key);
void drawHoldBar();
private:
std::vector<ClassicArrowNote*> _notes_on_hold;
std::shared_ptr<ClassicGraphicsManager> _graphics_manager;
};