diff options
-rw-r--r-- | src/docs/class.puml | 6 | ||||
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/event/GameEvent.java | 4 | ||||
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/event/InputEvent.java | 4 |
3 files changed, 11 insertions, 3 deletions
diff --git a/src/docs/class.puml b/src/docs/class.puml index 08e7fe3..6232023 100644 --- a/src/docs/class.puml +++ b/src/docs/class.puml | |||
@@ -14,7 +14,7 @@ package viewer { | |||
14 | Stage | 14 | Stage |
15 | void main(String[]) | 15 | void main(String[]) |
16 | void eventLoop(ApplicationContext) | 16 | void eventLoop(ApplicationContext) |
17 | void renderFrame(Graphics2D) | 17 | void renderFrame(Graphics2D,ApplicationContext) |
18 | } | 18 | } |
19 | } | 19 | } |
20 | 20 | ||
@@ -29,8 +29,8 @@ package context { | |||
29 | class GraphicsContext { | 29 | class GraphicsContext { |
30 | final Graphics2D | 30 | final Graphics2D |
31 | final ScreenInfo | 31 | final ScreenInfo |
32 | paintCircle(Color, Vec2, int) | 32 | paintCircle(Color, Vec2, float) |
33 | paintSquare(Color, Vec2, int) | 33 | paintSquare(Color, Vec2, float, float) |
34 | } | 34 | } |
35 | 35 | ||
36 | class InputHandler { | 36 | class InputHandler { |
diff --git a/src/main/java/fr/umlv/java/wallj/event/GameEvent.java b/src/main/java/fr/umlv/java/wallj/event/GameEvent.java new file mode 100644 index 0000000..9145ebd --- /dev/null +++ b/src/main/java/fr/umlv/java/wallj/event/GameEvent.java | |||
@@ -0,0 +1,4 @@ | |||
1 | package fr.umlv.java.wallj.event; | ||
2 | |||
3 | public interface GameEvent { | ||
4 | } | ||
diff --git a/src/main/java/fr/umlv/java/wallj/event/InputEvent.java b/src/main/java/fr/umlv/java/wallj/event/InputEvent.java new file mode 100644 index 0000000..5ca1a73 --- /dev/null +++ b/src/main/java/fr/umlv/java/wallj/event/InputEvent.java | |||
@@ -0,0 +1,4 @@ | |||
1 | package fr.umlv.java.wallj.event; | ||
2 | |||
3 | public interface InputEvent { | ||
4 | } | ||