public class DemoGame extends Object implements UI
TimerUpdate.UpdateActionNEEDS_REDRAW, NO_UPDATE| Constructor and Description |
|---|
DemoGame() |
| Modifier and Type | Method and Description |
|---|---|
void |
click(net.avh4.math.geometry.Rect bounds,
net.avh4.math.geometry.Point p) |
void |
draw(net.avh4.math.geometry.Rect bounds,
GraphicsOperations g,
FontMetricsService fm) |
void |
key(int keyCode,
boolean shift) |
static void |
main(String[] args) |
void |
move(net.avh4.math.geometry.Rect bounds,
net.avh4.math.geometry.Point p) |
TimerUpdate.UpdateAction |
time() |
public static void main(String[] args)
public void draw(net.avh4.math.geometry.Rect bounds,
GraphicsOperations g,
FontMetricsService fm)
public void click(net.avh4.math.geometry.Rect bounds,
net.avh4.math.geometry.Point p)
click in interface ClickReceiverpublic void move(net.avh4.math.geometry.Rect bounds,
net.avh4.math.geometry.Point p)
move in interface ClickReceiverpublic void key(int keyCode,
boolean shift)
key in interface KeyReceiverpublic TimerUpdate.UpdateAction time()
time in interface TimerUpdateCopyright © 2013. All Rights Reserved.