org.jboss.seam.config.example.princessrescue
Class GameManager
java.lang.Object
org.jboss.seam.config.example.princessrescue.GameManager
- All Implemented Interfaces:
- Serializable
@SessionScoped
@Named
public class GameManager
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GameManager
public GameManager()
newGame
public String newGame()
runRoom
public void runRoom(GameRoom room)
runShoot
public void runShoot(GameRoom room)
shootNorth
public void shootNorth()
shootSouth
public void shootSouth()
shootEast
public void shootEast()
shootWest
public void shootWest()
moveNorth
public void moveNorth()
moveSouth
public void moveSouth()
moveEast
public void moveEast()
moveWest
public void moveWest()
getCurrentRoom
public GameRoom getCurrentRoom()
setCurrentRoom
public void setCurrentRoom(GameRoom currentRoom)
isGameOver
public boolean isGameOver()
Copyright © 2011 Seam Framework. All Rights Reserved.