diff options
author | pacien | 2018-01-10 19:44:15 +0100 |
---|---|---|
committer | pacien | 2018-01-10 19:44:15 +0100 |
commit | 474444d4fad7c6c86ae01a2c208d330840283665 (patch) | |
tree | 8bafa86fb7d8acfcbee31cc01993ac78f001e128 | |
parent | 00d6b788396d314354f8f00fdbc884c80450d9d7 (diff) | |
download | wallj-474444d4fad7c6c86ae01a2c208d330840283665.tar.gz |
Add event return
Signed-off-by: pacien <pacien.trangirard@pacien.net>
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/controller/GameController.java | 8 | ||||
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/controller/StageController.java | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/src/main/java/fr/umlv/java/wallj/controller/GameController.java b/src/main/java/fr/umlv/java/wallj/controller/GameController.java index 63fed82..b678937 100644 --- a/src/main/java/fr/umlv/java/wallj/controller/GameController.java +++ b/src/main/java/fr/umlv/java/wallj/controller/GameController.java | |||
@@ -1,12 +1,16 @@ | |||
1 | package fr.umlv.java.wallj.controller; | 1 | package fr.umlv.java.wallj.controller; |
2 | 2 | ||
3 | import fr.umlv.java.wallj.context.Context; | 3 | import fr.umlv.java.wallj.context.Context; |
4 | import fr.umlv.java.wallj.event.Event; | ||
5 | |||
6 | import java.util.List; | ||
4 | 7 | ||
5 | public class GameController implements Controller { | 8 | public class GameController implements Controller { |
6 | //TODO | 9 | //TODO |
7 | 10 | ||
8 | @Override | 11 | @Override |
9 | public void update(Context context) { | 12 | public List<Event> update(Context context) { |
10 | 13 | return null; | |
11 | } | 14 | } |
15 | |||
12 | } | 16 | } |
diff --git a/src/main/java/fr/umlv/java/wallj/controller/StageController.java b/src/main/java/fr/umlv/java/wallj/controller/StageController.java index 912b500..d62e246 100644 --- a/src/main/java/fr/umlv/java/wallj/controller/StageController.java +++ b/src/main/java/fr/umlv/java/wallj/controller/StageController.java | |||
@@ -1,12 +1,16 @@ | |||
1 | package fr.umlv.java.wallj.controller; | 1 | package fr.umlv.java.wallj.controller; |
2 | 2 | ||
3 | import fr.umlv.java.wallj.context.Context; | 3 | import fr.umlv.java.wallj.context.Context; |
4 | import fr.umlv.java.wallj.event.Event; | ||
5 | |||
6 | import java.util.List; | ||
4 | 7 | ||
5 | public class StageController implements Controller { | 8 | public class StageController implements Controller { |
6 | //TODO | 9 | //TODO |
7 | 10 | ||
8 | @Override | 11 | @Override |
9 | public void update(Context context) { | 12 | public List<Event> update(Context context) { |
10 | 13 | return null; | |
11 | } | 14 | } |
15 | |||
12 | } | 16 | } |