public class MvcUi<M> extends Object implements UI
TimerUpdate.UpdateActionNEEDS_REDRAW, NO_UPDATE| Constructor and Description |
|---|
MvcUi(M model,
VC viewController) |
MvcUi(M model,
View<M> view,
Controller<M> controller) |
| 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) |
void |
move(net.avh4.math.geometry.Rect bounds,
net.avh4.math.geometry.Point p) |
TimerUpdate.UpdateAction |
time() |
public MvcUi(M model, View<M> view, Controller<M> controller)
public MvcUi(M model, VC viewController)
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 void draw(net.avh4.math.geometry.Rect bounds,
GraphicsOperations g,
FontMetricsService fm)
public TimerUpdate.UpdateAction time()
time in interface TimerUpdateCopyright © 2013. All Rights Reserved.