From e5f4426230fc485feac96fd5db6151faad24591d Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Wed, 10 Jan 2018 23:06:01 +0100 Subject: Modifying constructors' visibility and updating javadoc --- src/main/java/fr/umlv/java/wallj/model/BombBlock.java | 5 +---- src/main/java/fr/umlv/java/wallj/model/GarbageBlock.java | 5 +---- src/main/java/fr/umlv/java/wallj/model/RobotBlock.java | 5 +---- src/main/java/fr/umlv/java/wallj/model/TrashBlock.java | 5 +---- src/main/java/fr/umlv/java/wallj/model/WallBlock.java | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/fr/umlv/java/wallj/model/BombBlock.java b/src/main/java/fr/umlv/java/wallj/model/BombBlock.java index f310e36..9ba4a68 100644 --- a/src/main/java/fr/umlv/java/wallj/model/BombBlock.java +++ b/src/main/java/fr/umlv/java/wallj/model/BombBlock.java @@ -13,10 +13,7 @@ public class BombBlock extends Block { private int timer = INITIAL_TIMER; - /** - * @param pos initial position - */ - public BombBlock(Vec2 pos) { + BombBlock(Vec2 pos) { super(BlockType.BOMB, pos); } diff --git a/src/main/java/fr/umlv/java/wallj/model/GarbageBlock.java b/src/main/java/fr/umlv/java/wallj/model/GarbageBlock.java index 903b946..9161937 100644 --- a/src/main/java/fr/umlv/java/wallj/model/GarbageBlock.java +++ b/src/main/java/fr/umlv/java/wallj/model/GarbageBlock.java @@ -9,10 +9,7 @@ import org.jbox2d.common.Vec2; */ public class GarbageBlock extends Block { - /** - * @param pos initial position - */ - public GarbageBlock(Vec2 pos) { + GarbageBlock(Vec2 pos) { super(BlockType.GARBAGE, pos); } diff --git a/src/main/java/fr/umlv/java/wallj/model/RobotBlock.java b/src/main/java/fr/umlv/java/wallj/model/RobotBlock.java index e06561d..1b012ea 100644 --- a/src/main/java/fr/umlv/java/wallj/model/RobotBlock.java +++ b/src/main/java/fr/umlv/java/wallj/model/RobotBlock.java @@ -9,10 +9,7 @@ import org.jbox2d.common.Vec2; */ public class RobotBlock extends Block { - /** - * @param pos initial position - */ - public RobotBlock(Vec2 pos) { + RobotBlock(Vec2 pos) { super(BlockType.ROBOT, pos); } diff --git a/src/main/java/fr/umlv/java/wallj/model/TrashBlock.java b/src/main/java/fr/umlv/java/wallj/model/TrashBlock.java index 1efe2b2..1560381 100644 --- a/src/main/java/fr/umlv/java/wallj/model/TrashBlock.java +++ b/src/main/java/fr/umlv/java/wallj/model/TrashBlock.java @@ -9,10 +9,7 @@ import org.jbox2d.common.Vec2; */ public class TrashBlock extends Block { - /** - * @param pos initial position - */ - public TrashBlock(Vec2 pos) { + TrashBlock(Vec2 pos) { super(BlockType.TRASH, pos); } diff --git a/src/main/java/fr/umlv/java/wallj/model/WallBlock.java b/src/main/java/fr/umlv/java/wallj/model/WallBlock.java index abd0ae1..84fb42e 100644 --- a/src/main/java/fr/umlv/java/wallj/model/WallBlock.java +++ b/src/main/java/fr/umlv/java/wallj/model/WallBlock.java @@ -9,10 +9,7 @@ import org.jbox2d.common.Vec2; */ public class WallBlock extends Block { - /** - * @param pos initial position - */ - public WallBlock(Vec2 pos) { + WallBlock(Vec2 pos) { super(BlockType.WALL, pos); } -- cgit v1.2.3