#define STEM_HH
#include "item.hh"
#include "vray.hh"
+#include "moment.hh"
/// the rule attached to the ball
struct Stem : public Item {
/// rhythmical length
- Real note_length;
+ Moment note_length;
// heads the stem encompasses (positions)
int minnote, maxnote;
void set_noteheads();
void postprocess();
void preprocess();
- Stem(int center, Real duration);
+ Stem(int center, Moment duration);
Interval width() const;
private: