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.

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