Class ConcreteController

java.lang.Object
  extended by ConcreteController
All Implemented Interfaces:
Controller

public class ConcreteController
extends Object
implements Controller


Field Summary
(package private)  Model model
           
(package private)  View view
           
 
Constructor Summary
ConcreteController()
           
 
Method Summary
 void receiveGoal(Location name)
           
 void receiveMessage(Option option)
           
 void setModel(Model m)
           
 void setView(View v)
           
 void start()
           
 void updateView()
           
 void updateView(AbstractStory storyToPreselect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

Model model

view

View view
Constructor Detail

ConcreteController

public ConcreteController()
Method Detail

receiveGoal

public void receiveGoal(Location name)
Specified by:
receiveGoal in interface Controller

receiveMessage

public void receiveMessage(Option option)
Specified by:
receiveMessage in interface Controller

setModel

public void setModel(Model m)
Specified by:
setModel in interface Controller

setView

public void setView(View v)
Specified by:
setView in interface Controller

start

public void start()
Specified by:
start in interface Controller

updateView

public void updateView()
Specified by:
updateView in interface Controller

updateView

public void updateView(AbstractStory storyToPreselect)
Specified by:
updateView in interface Controller