storyworld.gui
Class ConcreteModel
java.lang.Object
storyworld.gui.ConcreteModel
- All Implemented Interfaces:
- Model
public class ConcreteModel
- extends Object
- implements Model
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcreteModel
public ConcreteModel()
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)