project-kyoku/src/modes/classicmode/classicnote.cpp

17 lines
319 B
C++
Raw Normal View History

2022-02-10 00:30:49 +01:00
#include "classicmode/classicnote.h"
ClassicNote::ClassicNote(const kku::microsec& perfect_offset) :
Note(perfect_offset),
2022-02-10 00:30:49 +01:00
_state(State::NONE)
2021-09-28 05:48:06 +02:00
{}
2022-02-06 02:33:09 +01:00
void ClassicNote::setState(ClassicNote::State state) noexcept
{
2022-02-06 02:33:09 +01:00
_state = state;
}
2022-02-06 02:33:09 +01:00
auto ClassicNote::getState() const noexcept -> State
{
2022-02-06 02:33:09 +01:00
return _state;
}