storyworld
Class ConcreteModel
java.lang.Object
storyworld.ConcreteModel
- All Implemented Interfaces:
- storyworld.Model
public class ConcreteModel
- extends java.lang.Object
- implements storyworld.Model
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcreteModel
public ConcreteModel()
enterStory
public void enterStory()
- Specified by:
enterStory in interface storyworld.Model
exitStory
public void exitStory()
- Specified by:
exitStory in interface storyworld.Model
getPlayerLocation
public storyworld.Location getPlayerLocation()
- Specified by:
getPlayerLocation in interface storyworld.Model
getWorld
public storyworld.World getWorld()
- Specified by:
getWorld in interface storyworld.Model
movePlayerTo
public void movePlayerTo(storyworld.Location loc)
- Specified by:
movePlayerTo in interface storyworld.Model
receiveMessage
public void receiveMessage(storyworld.Option option)
- Specified by:
receiveMessage in interface storyworld.Model
restart
public void restart()
- Specified by:
restart in interface storyworld.Model
sendMessage
public void sendMessage(java.lang.String s)
- Specified by:
sendMessage in interface storyworld.Model
sendStats
public void sendStats()
- Specified by:
sendStats in interface storyworld.Model
setView
public void setView(storyworld.View v)
- Specified by:
setView in interface storyworld.Model
setWorld
public void setWorld(storyworld.World w)
- Specified by:
setWorld in interface storyworld.Model