diff options
3 files changed, 23 insertions, 5 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 6f82684..368171e 100644 --- a/src/main/java/fr/umlv/java/wallj/event/AddBombEvent.java +++ b/src/main/java/fr/umlv/java/wallj/event/AddBombEvent.java | |||
@@ -1,4 +1,13 @@ | |||
1 | package fr.umlv.java.wallj.event; | 1 | package fr.umlv.java.wallj.event; |
2 | 2 | ||
3 | public class AddBombEvent { | 3 | import fr.umlv.java.wallj.board.TileVec2; |
4 | } | 4 | |
5 | import java.util.Objects; | ||
6 | |||
7 | public final class AddBombEvent implements Event { | ||
8 | TileVec2 tileVec2; | ||
9 | |||
10 | public AddBombEvent(TileVec2 tileVec2) { | ||
11 | this.tileVec2 = Objects.requireNonNull(tileVec2); | ||
12 | } | ||
13 | } | ||
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 4974e39..3089e7a 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 class DropBombEvent implements Event { | 3 | public final class DropBombEvent implements Event { |
4 | //TODO Class DropBombEvent | 4 | //TODO Class DropBombEvent |
5 | } | 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 fecef98..849c0e6 100644 --- a/src/main/java/fr/umlv/java/wallj/event/MoveRobotEvent.java +++ b/src/main/java/fr/umlv/java/wallj/event/MoveRobotEvent.java | |||
@@ -1,5 +1,14 @@ | |||
1 | package fr.umlv.java.wallj.event; | 1 | package fr.umlv.java.wallj.event; |
2 | 2 | ||
3 | import fr.umlv.java.wallj.board.TileVec2; | ||
4 | |||
5 | import java.util.Objects; | ||
6 | |||
3 | public class MoveRobotEvent implements Event { | 7 | public class MoveRobotEvent implements Event { |
4 | //TODO Class MoveRobotEvent | 8 | //TODO Class MoveRobotEvent |
9 | TileVec2 tileVec2; | ||
10 | |||
11 | public MoveRobotEvent(TileVec2 tileVec2) { | ||
12 | this.tileVec2 = Objects.requireNonNull(tileVec2); | ||
13 | } | ||
5 | } | 14 | } |