@@ -0,0 +1,660 @@
+package view.gui;%0A%0Aimport java.util.ArrayList;%0A%0A/**%0A * Provides an abstract class for model to extend%0A * in accordance with the Observer/Observable Design pattern.%0A * %0A * @author Christopher Chapline%0A * @author Christopher Toepfer%0A * @author David Christy%0A * @author James Fagan%0A */%0Apublic abstract class Observable %0A%7B%0A%09ArrayList%3CObserver%3E observers = new ArrayList%3CObserver%3E();%0A%09%0A%09public void addObserver(Observer newObserver)%0A%09%7B%0A%09%09observers.add(newObserver);%0A%09%7D%0A%09%0A%09public boolean removeObserver(Observer observerToRemove)%0A%09%7B%0A%09%09return observers.remove(observerToRemove);%0A%09%7D%0A%09%0A%09public void notifyObservers()%0A%09%7B%0A%09%09for(Observer o: observers)%0A%09%09%09o.update();%0A%09%7D%0A%7D%0A

Create Observable.java