forked from NaiJi/project-kyoku
22 lines
411 B
C++
22 lines
411 B
C++
#pragma once
|
|
|
|
#include "core/inputtype.h"
|
|
#include <vector>
|
|
#include <memory>
|
|
|
|
class ClassicArrowNote;
|
|
class ClassicGraphicsManager;
|
|
|
|
class HoldManager
|
|
{
|
|
public:
|
|
void emplace(ClassicArrowNote* note);
|
|
void checkRelease(sf::Keyboard::Key released_key);
|
|
|
|
void drawHoldBar();
|
|
|
|
private:
|
|
std::vector<ClassicArrowNote*> _notes_on_hold;
|
|
std::shared_ptr<ClassicGraphicsManager> _graphics_manager;
|
|
};
|