18 lines
473 B
C++
18 lines
473 B
C++
#ifndef CLASSICNOTEFLYINGSTATE_H
|
|
#define CLASSICNOTEFLYINGSTATE_H
|
|
|
|
#include "classicnotestate.h"
|
|
|
|
class ClassicNoteFlyingState : public ClassicNoteState
|
|
{
|
|
public:
|
|
virtual Value value() const override;
|
|
virtual Value update(const ClassicNote* note, const microsec& offset) override;
|
|
virtual void onEntering(const ClassicNote* note) override;
|
|
|
|
private:
|
|
inline constexpr int getPt(float n1 , float n2 , float perc) const;
|
|
};
|
|
|
|
#endif // CLASSICNOTEFLYINGSTATE_H
|