Interface Model

All Known Implementing Classes:
ConcreteModel

public interface Model


Method Summary
abstract  Location getLocationByName(String name)
           
abstract  Location getPlayerLocation()
           
abstract  int getTime()
           
abstract  AbstractWorld getWorld()
           
abstract  void receiveMessage(Option o)
           
abstract  void setPlayerLocation(Location loc)
           
abstract  void setPlayerLocationByName(String name)
           
abstract  void setTime(int newTime)
           
abstract  void setWorld(AbstractWorld w)
           
 

Method Detail

getLocationByName

Location getLocationByName(String name)

getPlayerLocation

Location getPlayerLocation()

getTime

int getTime()

getWorld

AbstractWorld getWorld()

receiveMessage

void receiveMessage(Option o)

setPlayerLocation

void setPlayerLocation(Location loc)

setPlayerLocationByName

void setPlayerLocationByName(String name)

setTime

void setTime(int newTime)

setWorld

void setWorld(AbstractWorld w)