forked from NaiJi/project-kyoku
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
311 B
C++
17 lines
311 B
C++
2 years ago
|
#include "classicmode/classicnote.h"
|
||
3 years ago
|
|
||
3 years ago
|
ClassicNote::ClassicNote(NoteInitializer &&init) :
|
||
3 years ago
|
Note(init.perfect_offset),
|
||
2 years ago
|
_state(State::NONE)
|
||
3 years ago
|
{}
|
||
3 years ago
|
|
||
2 years ago
|
void ClassicNote::setState(ClassicNote::State state) noexcept
|
||
3 years ago
|
{
|
||
2 years ago
|
_state = state;
|
||
3 years ago
|
}
|
||
|
|
||
2 years ago
|
auto ClassicNote::getState() const noexcept -> State
|
||
3 years ago
|
{
|
||
2 years ago
|
return _state;
|
||
3 years ago
|
}
|