org.jboss.seam.config.example.princessrescue
Class GameManager

java.lang.Object
  extended by org.jboss.seam.config.example.princessrescue.GameManager
All Implemented Interfaces:
Serializable

@SessionScoped
@Named
public class GameManager
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
GameManager()
           
 
Method Summary
 GameRoom getCurrentRoom()
           
 boolean isGameOver()
           
 void moveEast()
           
 void moveNorth()
           
 void moveSouth()
           
 void moveWest()
           
 String newGame()
           
 void runRoom(GameRoom room)
           
 void runShoot(GameRoom room)
           
 void setCurrentRoom(GameRoom currentRoom)
           
 void shootEast()
           
 void shootNorth()
           
 void shootSouth()
           
 void shootWest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameManager

public GameManager()
Method Detail

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.