storyworld.gui
Class ConcreteModel

java.lang.Object
  extended by storyworld.gui.ConcreteModel
All Implemented Interfaces:
Model

public class ConcreteModel
extends Object
implements Model


Constructor Summary
ConcreteModel()
           
 
Method Summary
 void advanceWorld()
           
 void enterStory()
           
 void exitStory()
           
 String getInvisibleStats()
           
 Location getPlayerLocation()
           
 String getStats()
           
 String getVisibleStats()
           
 World getWorld()
           
 void movePlayerTo(Location loc)
           
 void receiveChoice(Option option)
           
 void restart()
           
 void sendMessage(String s)
           
 void sendStats()
           
 void setView(View v)
           
 void setWorld(World w)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcreteModel

public ConcreteModel()
Method Detail

advanceWorld

public void advanceWorld()

enterStory

public void enterStory()
Specified by:
enterStory in interface Model

exitStory

public void exitStory()
Specified by:
exitStory in interface Model

getInvisibleStats

public String getInvisibleStats()

getPlayerLocation

public Location getPlayerLocation()
Specified by:
getPlayerLocation in interface Model

getStats

public String getStats()

getVisibleStats

public String getVisibleStats()

getWorld

public World getWorld()

movePlayerTo

public void movePlayerTo(Location loc)
Specified by:
movePlayerTo in interface Model

receiveChoice

public void receiveChoice(Option option)

restart

public void restart()

sendMessage

public void sendMessage(String s)
Specified by:
sendMessage in interface Model

sendStats

public void sendStats()
Specified by:
sendStats in interface Model

setView

public void setView(View v)

setWorld

public void setWorld(World w)