diff options
author | Pacien TRAN-GIRARD | 2015-11-24 14:55:23 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-11-24 14:55:23 +0100 |
commit | 15ae5683367df9f32df301cfc66dcbe41d193208 (patch) | |
tree | 6361c96e4a80ef785094a245e9e7d434391eab43 /src/ch/epfl/maze | |
parent | e2354d82e09c3bf8ae472d174332670d2d12f9bb (diff) | |
download | maze-solver-15ae5683367df9f32df301cfc66dcbe41d193208.tar.gz |
Implement copy for SpaceInvader A.I.
Diffstat (limited to 'src/ch/epfl/maze')
-rw-r--r-- | src/ch/epfl/maze/physical/zoo/SpaceInvader.java | 3 |
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 | } |