|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object universe.world.World<None> universe.world.test.MousePointsWorld
public class MousePointsWorld
Mouse World/Universe point/click Test
Field Summary |
---|
Fields inherited from class universe.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 by returning the inner Scene |
Package<None> |
onMouse(int x,
int y,
java.lang.String me)
On a mouse click add a circle to the inner Scene |
Methods inherited from class universe.world.World |
---|
bigBang, bigBang, lastScene, onKey, onReceive, 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 Scene onDraw()
onDraw
in class World<None>
public Package<None> onMouse(int x, int y, java.lang.String me)
onMouse
in class World<None>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |