1 package se
.umu
.cs
.dit06ajnajs
.map
;
4 import java
.util
.logging
.Logger
;
6 import se
.umu
.cs
.dit06ajnajs
.agent
.Unit
;
9 public class PathSquare
extends MapSquare
implements Traversable
{
10 private static Logger logger
= Logger
.getLogger("AntiTD");
12 public PathSquare(int x
, int y
, Image img
) {
16 public void landOn(Unit unit
) {
17 // DONE: Woha a unit is here, I should tell all my towers!
18 logger
.info("Unit >" + unit
.getClass().getSimpleName() +
19 "< landed on pathsquare. Notifying observers...");
21 notifyObservers(unit
);