summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-11-24 14:55:23 +0100
committerPacien TRAN-GIRARD2015-11-24 14:55:23 +0100
commit15ae5683367df9f32df301cfc66dcbe41d193208 (patch)
tree6361c96e4a80ef785094a245e9e7d434391eab43 /src
parente2354d82e09c3bf8ae472d174332670d2d12f9bb (diff)
downloadmaze-solver-15ae5683367df9f32df301cfc66dcbe41d193208.tar.gz
Implement copy for SpaceInvader A.I.
Diffstat (limited to 'src')
-rw-r--r--src/ch/epfl/maze/physical/zoo/SpaceInvader.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ch/epfl/maze/physical/zoo/SpaceInvader.java b/src/ch/epfl/maze/physical/zoo/SpaceInvader.java
index 7a3860e..2fd5dd3 100644
--- a/src/ch/epfl/maze/physical/zoo/SpaceInvader.java
+++ b/src/ch/epfl/maze/physical/zoo/SpaceInvader.java
@@ -44,8 +44,7 @@ public class SpaceInvader extends Animal {
44 44
45 @Override 45 @Override
46 public Animal copy() { 46 public Animal copy() {
47 // TODO (bonus) 47 return new SpaceInvader(this.getPosition());
48 return null;
49 } 48 }
50 49
51} 50}