|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectsimpleGamePlatform.MusicKeyboard
public class MusicKeyboard
Constructor Summary | |
---|---|
MusicKeyboard(int[] allNotes)
Constructor for a music keyboard, takes an array of note values. |
Method Summary | |
---|---|
void |
addNote(int note)
Add a note to the notes to be played during the next update cycle. |
void |
playNotes()
Play all the notes that have been specified for this update cycle. |
void |
stop()
Stop playing all notes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MusicKeyboard(int[] allNotes)
Method Detail |
---|
public void stop()
public void playNotes()
public void addNote(int note)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |