storyworld
Class ConcreteModel

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

public class ConcreteModel
extends java.lang.Object
implements storyworld.Model


Constructor Summary
ConcreteModel()
           
 
Method Summary
 void enterStory()
           
 void exitStory()
           
 storyworld.Location getPlayerLocation()
           
 storyworld.World getWorld()
           
 void movePlayerTo(storyworld.Location loc)
           
 void receiveMessage(storyworld.Option option)
           
 void restart()
           
 void sendMessage(java.lang.String s)
           
 void sendStats()
           
 void setView(storyworld.View v)
           
 void setWorld(storyworld.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

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