public class LightswitchGame extends Object implements ViewController<LightswitchGame.Model>
| Modifier and Type | Class and Description |
|---|---|
static class |
LightswitchGame.Model |
| Constructor and Description |
|---|
LightswitchGame() |
| Modifier and Type | Method and Description |
|---|---|
void |
click(LightswitchGame.Model model,
net.avh4.math.geometry.Point p) |
void |
draw(LightswitchGame.Model model,
net.avh4.math.geometry.Rect bounds,
GraphicsOperations g,
FontMetricsService fm) |
void |
key(LightswitchGame.Model model,
int keyCode,
boolean shift) |
static void |
main(String[] args) |
public static void main(String[] args)
public void click(LightswitchGame.Model model, net.avh4.math.geometry.Point p)
click in interface Controller<LightswitchGame.Model>public void key(LightswitchGame.Model model, int keyCode, boolean shift)
key in interface Controller<LightswitchGame.Model>public void draw(LightswitchGame.Model model, net.avh4.math.geometry.Rect bounds, GraphicsOperations g, FontMetricsService fm)
draw in interface View<LightswitchGame.Model>Copyright © 2013. All Rights Reserved.