public void notify(Event gameEvent) { foreach (GameEventObserver o in observers) { o.notify(gameEvent); } }
public void notify(Event gameEvent) { Console.WriteLine("The unit at (" + this.x + ", " + this.y + ") + sees the subject at cell (" + gameEvent.orginCell.Xcoord + ", " + gameEvent.orginCell.Ycoord + ")"); }