diff options
Diffstat (limited to 'src/ch/epfl/maze/physical')
-rw-r--r-- | src/ch/epfl/maze/physical/Animal.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/Daedalus.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/Maze.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/Predator.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/Prey.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/World.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/pacman/Blinky.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/pacman/Clyde.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/pacman/Inky.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/pacman/PacMan.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/pacman/Pinky.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/zoo/Bear.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/zoo/Hamster.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/zoo/Monkey.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/zoo/Mouse.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/zoo/Panda.java | 1 | ||||
-rw-r--r-- | src/ch/epfl/maze/physical/zoo/SpaceInvader.java | 1 |
17 files changed, 17 insertions, 0 deletions
diff --git a/src/ch/epfl/maze/physical/Animal.java b/src/ch/epfl/maze/physical/Animal.java index 0079d11..3697c32 100644 --- a/src/ch/epfl/maze/physical/Animal.java +++ b/src/ch/epfl/maze/physical/Animal.java | |||
@@ -7,6 +7,7 @@ import ch.epfl.maze.util.Vector2D; | |||
7 | * Animal inside a {@code World} that can move depending on the available | 7 | * Animal inside a {@code World} that can move depending on the available |
8 | * choices it has at its position. | 8 | * choices it has at its position. |
9 | * | 9 | * |
10 | * @author EPFL | ||
10 | * @author Pacien TRAN-GIRARD | 11 | * @author Pacien TRAN-GIRARD |
11 | */ | 12 | */ |
12 | abstract public class Animal { | 13 | abstract public class Animal { |
diff --git a/src/ch/epfl/maze/physical/Daedalus.java b/src/ch/epfl/maze/physical/Daedalus.java index 8018b66..4670064 100644 --- a/src/ch/epfl/maze/physical/Daedalus.java +++ b/src/ch/epfl/maze/physical/Daedalus.java | |||
@@ -9,6 +9,7 @@ import java.util.stream.Stream; | |||
9 | * Daedalus in which predators hunt preys. Once a prey has been caught by a | 9 | * Daedalus in which predators hunt preys. Once a prey has been caught by a |
10 | * predator, it will be removed from the daedalus. | 10 | * predator, it will be removed from the daedalus. |
11 | * | 11 | * |
12 | * @author EPFL | ||
12 | * @author Pacien TRAN-GIRARD | 13 | * @author Pacien TRAN-GIRARD |
13 | */ | 14 | */ |
14 | public final class Daedalus extends World { | 15 | public final class Daedalus extends World { |
diff --git a/src/ch/epfl/maze/physical/Maze.java b/src/ch/epfl/maze/physical/Maze.java index 51b9811..d3ba645 100644 --- a/src/ch/epfl/maze/physical/Maze.java +++ b/src/ch/epfl/maze/physical/Maze.java | |||
@@ -8,6 +8,7 @@ import java.util.List; | |||
8 | * Every animal added will have its position set to the starting point. The | 8 | * Every animal added will have its position set to the starting point. The |
9 | * animal is removed from the maze when it finds the exit. | 9 | * animal is removed from the maze when it finds the exit. |
10 | * | 10 | * |
11 | * @author EPFL | ||
11 | * @author Pacien TRAN-GIRARD | 12 | * @author Pacien TRAN-GIRARD |
12 | */ | 13 | */ |
13 | public final class Maze extends World { | 14 | public final class Maze extends World { |
diff --git a/src/ch/epfl/maze/physical/Predator.java b/src/ch/epfl/maze/physical/Predator.java index 7d30ce6..0b20ca0 100644 --- a/src/ch/epfl/maze/physical/Predator.java +++ b/src/ch/epfl/maze/physical/Predator.java | |||
@@ -6,6 +6,7 @@ import ch.epfl.maze.util.Vector2D; | |||
6 | /** | 6 | /** |
7 | * Predator that kills a prey when they meet with each other in the labyrinth. | 7 | * Predator that kills a prey when they meet with each other in the labyrinth. |
8 | * | 8 | * |
9 | * @author EPFL | ||
9 | * @author Pacien TRAN-GIRARD | 10 | * @author Pacien TRAN-GIRARD |
10 | */ | 11 | */ |
11 | abstract public class Predator extends ProbabilisticAnimal { | 12 | abstract public class Predator extends ProbabilisticAnimal { |
diff --git a/src/ch/epfl/maze/physical/Prey.java b/src/ch/epfl/maze/physical/Prey.java index 1f5225f..26fe92b 100644 --- a/src/ch/epfl/maze/physical/Prey.java +++ b/src/ch/epfl/maze/physical/Prey.java | |||
@@ -6,6 +6,7 @@ import ch.epfl.maze.util.Vector2D; | |||
6 | /** | 6 | /** |
7 | * Prey that is killed by a predator when they meet each other in the labyrinth. | 7 | * Prey that is killed by a predator when they meet each other in the labyrinth. |
8 | * | 8 | * |
9 | * @author EPFL | ||
9 | * @author Pacien TRAN-GIRARD | 10 | * @author Pacien TRAN-GIRARD |
10 | */ | 11 | */ |
11 | abstract public class Prey extends ProbabilisticAnimal { | 12 | abstract public class Prey extends ProbabilisticAnimal { |
diff --git a/src/ch/epfl/maze/physical/World.java b/src/ch/epfl/maze/physical/World.java index 9afbd5e..7d33472 100644 --- a/src/ch/epfl/maze/physical/World.java +++ b/src/ch/epfl/maze/physical/World.java | |||
@@ -10,6 +10,7 @@ import java.util.List; | |||
10 | * World that is represented by a labyrinth of tiles in which an {@code Animal} | 10 | * World that is represented by a labyrinth of tiles in which an {@code Animal} |
11 | * can move. | 11 | * can move. |
12 | * | 12 | * |
13 | * @author EPFL | ||
13 | * @author Pacien TRAN-GIRARD | 14 | * @author Pacien TRAN-GIRARD |
14 | */ | 15 | */ |
15 | public abstract class World { | 16 | public abstract class World { |
diff --git a/src/ch/epfl/maze/physical/pacman/Blinky.java b/src/ch/epfl/maze/physical/pacman/Blinky.java index b3ac64e..4e8c4a0 100644 --- a/src/ch/epfl/maze/physical/pacman/Blinky.java +++ b/src/ch/epfl/maze/physical/pacman/Blinky.java | |||
@@ -8,6 +8,7 @@ import ch.epfl.maze.util.Vector2D; | |||
8 | /** | 8 | /** |
9 | * Red ghost from the Pac-Man game, chases directly its target. | 9 | * Red ghost from the Pac-Man game, chases directly its target. |
10 | * | 10 | * |
11 | * @author EPFL | ||
11 | * @author Pacien TRAN-GIRARD | 12 | * @author Pacien TRAN-GIRARD |
12 | */ | 13 | */ |
13 | public class Blinky extends GhostPredator { | 14 | public class Blinky extends GhostPredator { |
diff --git a/src/ch/epfl/maze/physical/pacman/Clyde.java b/src/ch/epfl/maze/physical/pacman/Clyde.java index 7e8bdd7..40089db 100644 --- a/src/ch/epfl/maze/physical/pacman/Clyde.java +++ b/src/ch/epfl/maze/physical/pacman/Clyde.java | |||
@@ -9,6 +9,7 @@ import ch.epfl.maze.util.Vector2D; | |||
9 | * Orange ghost from the Pac-Man game, alternates between direct chase if far | 9 | * Orange ghost from the Pac-Man game, alternates between direct chase if far |
10 | * from its target and SCATTER if close. | 10 | * from its target and SCATTER if close. |
11 | * | 11 | * |
12 | * @author EPFL | ||
12 | * @author Pacien TRAN-GIRARD | 13 | * @author Pacien TRAN-GIRARD |
13 | */ | 14 | */ |
14 | public class Clyde extends GhostPredator { | 15 | public class Clyde extends GhostPredator { |
diff --git a/src/ch/epfl/maze/physical/pacman/Inky.java b/src/ch/epfl/maze/physical/pacman/Inky.java index de0466d..05c712c 100644 --- a/src/ch/epfl/maze/physical/pacman/Inky.java +++ b/src/ch/epfl/maze/physical/pacman/Inky.java | |||
@@ -11,6 +11,7 @@ import java.util.NoSuchElementException; | |||
11 | * Blue ghost from the Pac-Man game, targets the result of two times the vector | 11 | * Blue ghost from the Pac-Man game, targets the result of two times the vector |
12 | * from Blinky to its target. | 12 | * from Blinky to its target. |
13 | * | 13 | * |
14 | * @author EPFL | ||
14 | * @author Pacien TRAN-GIRARD | 15 | * @author Pacien TRAN-GIRARD |
15 | */ | 16 | */ |
16 | public class Inky extends GhostPredator { | 17 | public class Inky extends GhostPredator { |
diff --git a/src/ch/epfl/maze/physical/pacman/PacMan.java b/src/ch/epfl/maze/physical/pacman/PacMan.java index ee1ee28..6ec7436 100644 --- a/src/ch/epfl/maze/physical/pacman/PacMan.java +++ b/src/ch/epfl/maze/physical/pacman/PacMan.java | |||
@@ -9,6 +9,7 @@ import ch.epfl.maze.util.Vector2D; | |||
9 | /** | 9 | /** |
10 | * Pac-Man character, from the famous game of the same name. | 10 | * Pac-Man character, from the famous game of the same name. |
11 | * | 11 | * |
12 | * @author EPFL | ||
12 | * @author Pacien TRAN-GIRARD | 13 | * @author Pacien TRAN-GIRARD |
13 | */ | 14 | */ |
14 | public class PacMan extends Prey { | 15 | public class PacMan extends Prey { |
diff --git a/src/ch/epfl/maze/physical/pacman/Pinky.java b/src/ch/epfl/maze/physical/pacman/Pinky.java index 9c3d2c8..f3e145d 100644 --- a/src/ch/epfl/maze/physical/pacman/Pinky.java +++ b/src/ch/epfl/maze/physical/pacman/Pinky.java | |||
@@ -9,6 +9,7 @@ import ch.epfl.maze.util.Vector2D; | |||
9 | /** | 9 | /** |
10 | * Pink ghost from the Pac-Man game, targets 4 squares in front of its target. | 10 | * Pink ghost from the Pac-Man game, targets 4 squares in front of its target. |
11 | * | 11 | * |
12 | * @author EPFL | ||
12 | * @author Pacien TRAN-GIRARD | 13 | * @author Pacien TRAN-GIRARD |
13 | */ | 14 | */ |
14 | public class Pinky extends GhostPredator { | 15 | public class Pinky extends GhostPredator { |
diff --git a/src/ch/epfl/maze/physical/zoo/Bear.java b/src/ch/epfl/maze/physical/zoo/Bear.java index 2ef9215..803b574 100644 --- a/src/ch/epfl/maze/physical/zoo/Bear.java +++ b/src/ch/epfl/maze/physical/zoo/Bear.java | |||
@@ -11,6 +11,7 @@ import java.util.List; | |||
11 | /** | 11 | /** |
12 | * Bear A.I. that implements the Pledge Algorithm. | 12 | * Bear A.I. that implements the Pledge Algorithm. |
13 | * | 13 | * |
14 | * @author EPFL | ||
14 | * @author Pacien TRAN-GIRARD | 15 | * @author Pacien TRAN-GIRARD |
15 | */ | 16 | */ |
16 | public class Bear extends Animal { | 17 | public class Bear extends Animal { |
diff --git a/src/ch/epfl/maze/physical/zoo/Hamster.java b/src/ch/epfl/maze/physical/zoo/Hamster.java index 7fa0b0d..150880c 100644 --- a/src/ch/epfl/maze/physical/zoo/Hamster.java +++ b/src/ch/epfl/maze/physical/zoo/Hamster.java | |||
@@ -14,6 +14,7 @@ import java.util.stream.Collectors; | |||
14 | * Hamster A.I. that remembers the previous choice it has made and the dead ends | 14 | * Hamster A.I. that remembers the previous choice it has made and the dead ends |
15 | * it has already met. | 15 | * it has already met. |
16 | * | 16 | * |
17 | * @author EPFL | ||
17 | * @author Pacien TRAN-GIRARD | 18 | * @author Pacien TRAN-GIRARD |
18 | */ | 19 | */ |
19 | public class Hamster extends ProbabilisticAnimal { | 20 | public class Hamster extends ProbabilisticAnimal { |
diff --git a/src/ch/epfl/maze/physical/zoo/Monkey.java b/src/ch/epfl/maze/physical/zoo/Monkey.java index 196b028..119781c 100644 --- a/src/ch/epfl/maze/physical/zoo/Monkey.java +++ b/src/ch/epfl/maze/physical/zoo/Monkey.java | |||
@@ -11,6 +11,7 @@ import java.util.List; | |||
11 | /** | 11 | /** |
12 | * Monkey A.I. that puts its hand on the left wall and follows it. | 12 | * Monkey A.I. that puts its hand on the left wall and follows it. |
13 | * | 13 | * |
14 | * @author EPFL | ||
14 | * @author Pacien TRAN-GIRARD | 15 | * @author Pacien TRAN-GIRARD |
15 | */ | 16 | */ |
16 | public class Monkey extends Animal { | 17 | public class Monkey extends Animal { |
diff --git a/src/ch/epfl/maze/physical/zoo/Mouse.java b/src/ch/epfl/maze/physical/zoo/Mouse.java index 08d7f3d..f7084d7 100644 --- a/src/ch/epfl/maze/physical/zoo/Mouse.java +++ b/src/ch/epfl/maze/physical/zoo/Mouse.java | |||
@@ -7,6 +7,7 @@ import ch.epfl.maze.util.Vector2D; | |||
7 | /** | 7 | /** |
8 | * Mouse A.I. that remembers only the previous choice it has made. | 8 | * Mouse A.I. that remembers only the previous choice it has made. |
9 | * | 9 | * |
10 | * @author EPFL | ||
10 | * @author Pacien TRAN-GIRARD | 11 | * @author Pacien TRAN-GIRARD |
11 | */ | 12 | */ |
12 | public class Mouse extends ProbabilisticAnimal { | 13 | public class Mouse extends ProbabilisticAnimal { |
diff --git a/src/ch/epfl/maze/physical/zoo/Panda.java b/src/ch/epfl/maze/physical/zoo/Panda.java index aa35efe..b794d10 100644 --- a/src/ch/epfl/maze/physical/zoo/Panda.java +++ b/src/ch/epfl/maze/physical/zoo/Panda.java | |||
@@ -13,6 +13,7 @@ import java.util.stream.Collectors; | |||
13 | /** | 13 | /** |
14 | * Panda A.I. that implements Trémeaux's Algorithm. | 14 | * Panda A.I. that implements Trémeaux's Algorithm. |
15 | * | 15 | * |
16 | * @author EPFL | ||
16 | * @author Pacien TRAN-GIRARD | 17 | * @author Pacien TRAN-GIRARD |
17 | */ |