summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-11-24 11:15:53 +0100
committerPacien TRAN-GIRARD2015-11-24 11:15:53 +0100
commitfb492341a1d05590c5230e8e0bd5e48f530944fe (patch)
tree1bd1e9a30239cf8f3415f1c2d1ef6df04dab91cc
parentbc477506342411e9156b3230d847cb92bcb8e5f9 (diff)
downloadmaze-solver-fb492341a1d05590c5230e8e0bd5e48f530944fe.tar.gz
Properly set class authors
-rw-r--r--src/ch/epfl/maze/graphics/Animation.java1
-rw-r--r--src/ch/epfl/maze/graphics/Display.java2
-rw-r--r--src/ch/epfl/maze/graphics/GraphicComponent.java2
-rw-r--r--src/ch/epfl/maze/main/Console.java2
-rw-r--r--src/ch/epfl/maze/main/Program.java2
-rw-r--r--src/ch/epfl/maze/physical/Animal.java1
-rw-r--r--src/ch/epfl/maze/physical/Daedalus.java1
-rw-r--r--src/ch/epfl/maze/physical/Maze.java1
-rw-r--r--src/ch/epfl/maze/physical/Predator.java1
-rw-r--r--src/ch/epfl/maze/physical/Prey.java1
-rw-r--r--src/ch/epfl/maze/physical/World.java1
-rw-r--r--src/ch/epfl/maze/physical/pacman/Blinky.java1
-rw-r--r--src/ch/epfl/maze/physical/pacman/Clyde.java1
-rw-r--r--src/ch/epfl/maze/physical/pacman/Inky.java1
-rw-r--r--src/ch/epfl/maze/physical/pacman/PacMan.java1
-rw-r--r--src/ch/epfl/maze/physical/pacman/Pinky.java1
-rw-r--r--src/ch/epfl/maze/physical/zoo/Bear.java1
-rw-r--r--src/ch/epfl/maze/physical/zoo/Hamster.java1
-rw-r--r--src/ch/epfl/maze/physical/zoo/Monkey.java1
-rw-r--r--src/ch/epfl/maze/physical/zoo/Mouse.java1
-rw-r--r--src/ch/epfl/maze/physical/zoo/Panda.java1
-rw-r--r--src/ch/epfl/maze/physical/zoo/SpaceInvader.java1
-rw-r--r--src/ch/epfl/maze/simulation/DaedalusSimulation.java2
-rw-r--r--src/ch/epfl/maze/simulation/MazeSimulation.java2
-rw-r--r--src/ch/epfl/maze/simulation/Simulation.java2
-rw-r--r--src/ch/epfl/maze/tests/AnimalTest.java2
-rw-r--r--src/ch/epfl/maze/tests/Competition.java2
-rw-r--r--src/ch/epfl/maze/tests/DaedalusTest.java2
-rw-r--r--src/ch/epfl/maze/tests/GhostsTest.java3
-rw-r--r--src/ch/epfl/maze/tests/MazeTest.java2
-rw-r--r--src/ch/epfl/maze/tests/WorldTest.java2
-rw-r--r--src/ch/epfl/maze/tests/ZooTest.java3
-rw-r--r--src/ch/epfl/maze/util/Action.java2
-rw-r--r--src/ch/epfl/maze/util/Direction.java1
-rw-r--r--src/ch/epfl/maze/util/LabyrinthGenerator.java2
-rw-r--r--src/ch/epfl/maze/util/Statistics.java2
-rw-r--r--src/ch/epfl/maze/util/Vector2D.java3
37 files changed, 58 insertions, 0 deletions
diff --git a/src/ch/epfl/maze/graphics/Animation.java b/src/ch/epfl/maze/graphics/Animation.java
index a00b6b2..497d417 100644
--- a/src/ch/epfl/maze/graphics/Animation.java
+++ b/src/ch/epfl/maze/graphics/Animation.java
@@ -20,6 +20,7 @@ import java.util.TreeMap;
20 * Handles the animation of a {@code Simulation} by extrapolating the positions 20 * Handles the animation of a {@code Simulation} by extrapolating the positions
21 * of animals. 21 * of animals.
22 * 22 *
23 * @author EPFL
23 * @author Pacien TRAN-GIRARD 24 * @author Pacien TRAN-GIRARD
24 */ 25 */
25public final class Animation { 26public final class Animation {
diff --git a/src/ch/epfl/maze/graphics/Display.java b/src/ch/epfl/maze/graphics/Display.java
index baacefa..a0c37f4 100644
--- a/src/ch/epfl/maze/graphics/Display.java
+++ b/src/ch/epfl/maze/graphics/Display.java
@@ -16,6 +16,8 @@ import java.util.Map;
16 16
17/** 17/**
18 * Handles the display of a {@code Simulation} on a window. 18 * Handles the display of a {@code Simulation} on a window.
19 *
20 * @author EPFL
19 */ 21 */
20public final class Display implements Runnable { 22public final class Display implements Runnable {
21 23
diff --git a/src/ch/epfl/maze/graphics/GraphicComponent.java b/src/ch/epfl/maze/graphics/GraphicComponent.java
index 44b4b1f..e63b145 100644
--- a/src/ch/epfl/maze/graphics/GraphicComponent.java
+++ b/src/ch/epfl/maze/graphics/GraphicComponent.java
@@ -12,6 +12,8 @@ import java.awt.image.ImageObserver;
12 12
13/** 13/**
14 * Graphic component of an animal that will be drawn by an {@link Animation}. 14 * Graphic component of an animal that will be drawn by an {@link Animation}.
15 *
16 * @author EPFL
15 */ 17 */
16public final class GraphicComponent { 18public final class GraphicComponent {
17 19
diff --git a/src/ch/epfl/maze/main/Console.java b/src/ch/epfl/maze/main/Console.java
index 931bec4..0c273e1 100644
--- a/src/ch/epfl/maze/main/Console.java
+++ b/src/ch/epfl/maze/main/Console.java
@@ -21,6 +21,8 @@ import java.util.Map;
21/** 21/**
22 * Mini-project main program that will run the simulations multiple times and 22 * Mini-project main program that will run the simulations multiple times and
23 * show statistics on the console. 23 * show statistics on the console.
24 *
25 * @author EPFL
24 */ 26 */
25public class Console { 27public class Console {
26 28
diff --git a/src/ch/epfl/maze/main/Program.java b/src/ch/epfl/maze/main/Program.java
index 043f7e5..347eace 100644
--- a/src/ch/epfl/maze/main/Program.java
+++ b/src/ch/epfl/maze/main/Program.java
@@ -16,6 +16,8 @@ import ch.epfl.maze.util.Vector2D;
16 16
17/** 17/**
18 * Mini-project main program that will run the simulations on a {@code Display}. 18 * Mini-project main program that will run the simulations on a {@code Display}.
19 *
20 * @author EPFL
19 */ 21 */
20public class Program { 22public class Program {
21 23
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 */
12abstract public class Animal { 13abstract 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 */
14public final class Daedalus extends World { 15public 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 */
13public final class Maze extends World { 14public 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 */
11abstract public class Predator extends ProbabilisticAnimal { 12abstract 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 */
11abstract public class Prey extends ProbabilisticAnimal { 12abstract 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 */
15public abstract class World { 16public 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 */
13public class Blinky extends GhostPredator { 14public 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 */
14public class Clyde extends GhostPredator {