storyworld.gui
Class ConcreteController

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

public class ConcreteController
extends Object
implements Controller


Field Summary
(package private)  Model model
           
(package private)  boolean timedTravelling
           
(package private)  int timedTravellingFactor
           
(package private)  boolean travelling
           
(package private)  TravelLocation travelLocation
           
(package private)  View view
           
 
Constructor Summary
ConcreteController()
           
 
Method Summary
 String getInvisibleStats()
           
 String getStats()
           
 String getVisibleStats()
           
 void receiveChoice(Option option)
           
 void receiveChoice(String s)
           
 void receiveGoal(Connection c)
           
 void setModel(Model m)
           
 void setView(View v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

Model model

timedTravelling

boolean timedTravelling

timedTravellingFactor

int timedTravellingFactor

travelling

boolean travelling

travelLocation

TravelLocation travelLocation

view

View view
Constructor Detail

ConcreteController

public ConcreteController()
Method Detail

getInvisibleStats

public String getInvisibleStats()
Specified by:
getInvisibleStats in interface Controller

getStats

public String getStats()
Specified by:
getStats in interface Controller

getVisibleStats

public String getVisibleStats()
Specified by:
getVisibleStats in interface Controller

receiveChoice

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

receiveChoice

public void receiveChoice(String s)
Specified by:
receiveChoice in interface Controller

receiveGoal

public void receiveGoal(Connection c)
Specified by:
receiveGoal 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