package app;

import java.util.Observable;
import java.util.Observer;

/**
 * Created by Benjamin on 03/02/2016.
 */
public class ShippingTrackerObserver implements Observer {
	@Override
	public void update(Observable o, Object arg) {

	}
}

@@ -7,16 +7,182 @@
 e app;%0A%0A
+import app.action.Action;%0Aimport app.action.ActionEvent;%0Aimport app.action.Drop;%0Aimport app.shipper.BasicShipper;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A
 import j
@@ -202,16 +202,16 @@
 rvable;%0A
-
 import j
@@ -335,16 +335,71 @@
 erver %7B%0A
+%09List%3CString%3E achievedDeliveries = new ArrayList%3C%3E();%0A%0A
 %09@Overri
@@ -449,14 +449,299 @@
  arg) %7B%0A
+%09%09ActionEvent actionEvent = (ActionEvent) arg;%0A%0A%09%09if(o instanceof Drop && actionEvent.equals(ActionEvent.ENDED)) %7B%0A%0A%09%09%09Drop action = (Drop) o;%0A%09%09%09System.out.printf(%22%5Cn%5Ct%5BDELIVERY DONE%5D %25s has performed package %25s%5Cn%22, action.getTarget().getName(), action.getTarget().getPack());%0A%09%09%09%0A%09%09%7D
 %0A%09%7D%0A%7D%0A

Add basic code into new Spy