From 0939d5aa083872e8da9c75a5f783b7d0e2960fb0 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Tue, 9 Jan 2018 00:35:44 +0100 Subject: Updating UML diagram nouveau fichierĀ : src/main/java/fr/umlv/java/wallj/event/GameEvent.java nouveau fichierĀ : src/main/java/fr/umlv/java/wallj/event/InputEvent.java --- src/docs/class.puml | 6 +++--- src/main/java/fr/umlv/java/wallj/event/GameEvent.java | 4 ++++ src/main/java/fr/umlv/java/wallj/event/InputEvent.java | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 src/main/java/fr/umlv/java/wallj/event/GameEvent.java create mode 100644 src/main/java/fr/umlv/java/wallj/event/InputEvent.java 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 { Stage void main(String[]) void eventLoop(ApplicationContext) - void renderFrame(Graphics2D) + void renderFrame(Graphics2D,ApplicationContext) } } @@ -29,8 +29,8 @@ package context { class GraphicsContext { final Graphics2D final ScreenInfo - paintCircle(Color, Vec2, int) - paintSquare(Color, Vec2, int) + paintCircle(Color, Vec2, float) + paintSquare(Color, Vec2, float, float) } 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 @@ +package fr.umlv.java.wallj.event; + +public interface GameEvent { +} 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 @@ +package fr.umlv.java.wallj.event; + +public interface InputEvent { +} -- cgit v1.2.3