Package com.cryptomorin.xseries
Class NoteBlockMusic.Sequence
java.lang.Object
com.cryptomorin.xseries.NoteBlockMusic.Instruction
com.cryptomorin.xseries.NoteBlockMusic.Sequence
- Enclosing class:
- NoteBlockMusic
A sequence is a restatement collection
of multiple other
NoteBlockMusic.Sequences and NoteBlockMusic.Sound that itself might be a part of another NoteBlockMusic.Sequence
A sequence in a script is shown with: (instruction1, instruction2, ...),restatement,restatementFermata fermata
- Since:
- 3.0.0
-
Field Summary
FieldsFields inherited from class com.cryptomorin.xseries.NoteBlockMusic.Instruction
fermata, parent, restatement, restatementFermata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInstruction(NoteBlockMusic.Instruction instruction) longvoidtoString()
-
Field Details
-
instructions
-
-
Constructor Details
-
Sequence
public Sequence() -
Sequence
-
Sequence
public Sequence(int restatement, int restatementFermata, int fermata)
-
-
Method Details
-
play
- Specified by:
playin classNoteBlockMusic.Instruction
-
toString
-
addInstruction
-
getEstimatedLength
public long getEstimatedLength()- Overrides:
getEstimatedLengthin classNoteBlockMusic.Instruction
-