| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectworld.sound.SoundWorld
world.sound.test.Mario
public class Mario
Simple class that demonstrates playing a melody... a simpler version of the classic Nintendo soundtrack
| Field Summary | 
|---|
| Fields inherited from class world.sound.SoundWorld | 
|---|
DEFAULT_TICK_RATE, KEY_ARROW_DOWN, KEY_ARROW_LEFT, KEY_ARROW_RIGHT, KEY_ARROW_UP, keyTunes, MOUSE_DOWN, MOUSE_DRAG, MOUSE_ENTER, MOUSE_LEAVE, MOUSE_MOVE, MOUSE_UP, musicBox, tickTunes | 
| Method Summary | |
|---|---|
static void | 
main(java.lang.String[] argv)
Simple Main method (that Java runs) to start the animation/sound  | 
 Scene | 
onDraw()
Draw the beat number in the center of the Scene  | 
 void | 
onTick()
Loop if needed, move to the next note, and increase the number.  | 
 double | 
tickRate()
Medium tick-rate  | 
| Methods inherited from class world.sound.SoundWorld | 
|---|
bigBang, equals, lastScene, onKey, onMouse, onRelease, stopWhen | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public double tickRate()
tickRate in class SoundWorldpublic Scene onDraw()
onDraw in class SoundWorldpublic void onTick()
onTick in class SoundWorldpublic static void main(java.lang.String[] argv)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||