universe.world.test
Class RotatingLinesWorld

java.lang.Object
  extended by universe.world.World<None>
      extended by universe.world.test.RotatingLinesWorld

public class RotatingLinesWorld
extends World<None>

World OnTick and Line 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 two lines at the current base angle
 Package<None> onTick()
          On Tick update the angle
 
Methods inherited from class universe.world.World
bigBang, bigBang, lastScene, onKey, onMouse, onReceive, onRelease, stopWhen, tickRate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] s)

onDraw

public Scene onDraw()
Draw two lines at the current base angle

Specified by:
onDraw in class World<None>

onTick

public Package<None> onTick()
On Tick update the angle

Overrides:
onTick in class World<None>