Class ConcreteModel
java.lang.Object
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 |
playerLocation
Location playerLocation
world
AbstractWorld world
ConcreteModel
ConcreteModel()
getLocationByName
public Location getLocationByName(String name)
- Specified by:
getLocationByName in interface Model
getPlayerLocation
public Location getPlayerLocation()
- Specified by:
getPlayerLocation in interface Model
getTime
public int getTime()
- Specified by:
getTime in interface Model
getWorld
public AbstractWorld getWorld()
- Specified by:
getWorld in interface Model
receiveMessage
public void receiveMessage(Option option)
- Specified by:
receiveMessage in interface Model
setPlayerLocation
public void setPlayerLocation(Location loc)
- Specified by:
setPlayerLocation in interface Model
setPlayerLocationByName
public void setPlayerLocationByName(String name)
- Specified by:
setPlayerLocationByName in interface Model
setTime
public void setTime(int newTime)
- Specified by:
setTime in interface Model
setWorld
public void setWorld(AbstractWorld w)
- Specified by:
setWorld in interface Model