| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectworld.World
examples.KeyMoveWorld
public class KeyMoveWorld
World OnKey Test
| Field Summary | 
|---|
| Fields inherited from class world.World | 
|---|
| DEFAULT_TICK_RATE, KEY_ARROW_DOWN, KEY_ARROW_LEFT, KEY_ARROW_RIGHT, KEY_ARROW_UP, MOUSE_DOWN, MOUSE_DRAG, MOUSE_ENTER, MOUSE_LEAVE, MOUSE_MOVE, MOUSE_UP | 
| Method Summary | |
|---|---|
| static void | main(java.lang.String[] s) | 
|  Scene | onDraw()Draw the dot into an EmptyScene | 
|  KeyMoveWorld | onKey(java.lang.String ke)On an arrow key move the dot in the right direction | 
| Methods inherited from class world.World | 
|---|
| bigBang, display, lastScene, onMouse, onRelease, onTick, stopWhen, tickRate | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static void main(java.lang.String[] s)
public KeyMoveWorld onKey(java.lang.String ke)
onKey in class Worldpublic Scene onDraw()
onDraw in class World| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||