diff options
Diffstat (limited to 'src')
6 files changed, 8 insertions, 6 deletions
diff --git a/src/main/java/fr/umlv/java/wallj/event/AddBombEvent.java b/src/main/java/fr/umlv/java/wallj/event/AddBombEvent.java index 368171e..e726911 100644 --- a/src/main/java/fr/umlv/java/wallj/event/AddBombEvent.java +++ b/src/main/java/fr/umlv/java/wallj/event/AddBombEvent.java | |||
@@ -4,7 +4,7 @@ import fr.umlv.java.wallj.board.TileVec2; | |||
4 | 4 | ||
5 | import java.util.Objects; | 5 | import java.util.Objects; |
6 | 6 | ||
7 | public final class AddBombEvent implements Event { | 7 | public final class AddBombEvent implements InputEvent { |
8 | TileVec2 tileVec2; | 8 | TileVec2 tileVec2; |
9 | 9 | ||
10 | public AddBombEvent(TileVec2 tileVec2) { | 10 | public AddBombEvent(TileVec2 tileVec2) { |
diff --git a/src/main/java/fr/umlv/java/wallj/event/ConfirmEvent.java b/src/main/java/fr/umlv/java/wallj/event/ConfirmEvent.java index d948934..4af9884 100644 --- a/src/main/java/fr/umlv/java/wallj/event/ConfirmEvent.java +++ b/src/main/java/fr/umlv/java/wallj/event/ConfirmEvent.java | |||
@@ -1,5 +1,5 @@ | |||
1 | package fr.umlv.java.wallj.event; | 1 | package fr.umlv.java.wallj.event; |
2 | 2 | ||
3 | public class ConfirmEvent implements Event { | 3 | public class ConfirmEvent implements InputEvent { |
4 | //TODO Class ConfirmEvent | 4 | //TODO Class ConfirmEvent |
5 | } | 5 | } |
diff --git a/src/main/java/fr/umlv/java/wallj/event/DropBombEvent.java b/src/main/java/fr/umlv/java/wallj/event/DropBombEvent.java index 3089e7a..5d07622 100644 --- a/src/main/java/fr/umlv/java/wallj/event/DropBombEvent.java +++ b/src/main/java/fr/umlv/java/wallj/event/DropBombEvent.java | |||
@@ -1,5 +1,5 @@ | |||
1 | package fr.umlv.java.wallj.event; | 1 | package fr.umlv.java.wallj.event; |
2 | 2 | ||
3 | public final class DropBombEvent implements Event { | 3 | public final class DropBombEvent implements InputEvent { |
4 | //TODO Class DropBombEvent | 4 | //TODO Class DropBombEvent |
5 | } | 5 | } |
diff --git a/src/main/java/fr/umlv/java/wallj/event/GameEvent.java b/src/main/java/fr/umlv/java/wallj/event/GameEvent.java index 9145ebd..53381a7 100644 --- a/src/main/java/fr/umlv/java/wallj/event/GameEvent.java +++ b/src/main/java/fr/umlv/java/wallj/event/GameEvent.java | |||
@@ -1,4 +1,5 @@ | |||
1 | package fr.umlv.java.wallj.event; | 1 | package fr.umlv.java.wallj.event; |
2 | 2 | ||
3 | public interface GameEvent { | 3 | public interface GameEvent extends Event{ |
4 | |||
4 | } | 5 | } |
diff --git a/src/main/java/fr/umlv/java/wallj/event/InputEvent.java b/src/main/java/fr/umlv/java/wallj/event/InputEvent.java index 5ca1a73..3452c66 100644 --- a/src/main/java/fr/umlv/java/wallj/event/InputEvent.java +++ b/src/main/java/fr/umlv/java/wallj/event/InputEvent.java | |||
@@ -1,4 +1,5 @@ | |||
1 | package fr.umlv.java.wallj.event; | 1 | package fr.umlv.java.wallj.event; |
2 | 2 | ||
3 | public interface InputEvent { | 3 | public interface InputEvent extends Event { |
4 | |||
4 | } | 5 | } |
diff --git a/src/main/java/fr/umlv/java/wallj/event/MoveRobotEvent.java b/src/main/java/fr/umlv/java/wallj/event/MoveRobotEvent.java index 849c0e6..5ccff92 100644 --- a/src/main/java/fr/umlv/java/wallj/event/MoveRobotEvent.java +++ b/src/main/java/fr/umlv/java/wallj/event/MoveRobotEvent.java | |||
@@ -4,7 +4,7 @@ import fr.umlv.java.wallj.board.TileVec2; | |||
4 | 4 | ||
5 | import java.util.Objects; | 5 | import java.util.Objects; |
6 | 6 | ||
7 | public class MoveRobotEvent implements Event { | 7 | public class MoveRobotEvent implements InputEvent { |
8 | //TODO Class MoveRobotEvent | 8 | //TODO Class MoveRobotEvent |
9 | TileVec2 tileVec2; | 9 | TileVec2 tileVec2; |
10 | 10 | ||