org.jboss.seam.wicket.examples.numberguess
Class Game

java.lang.Object
  extended by org.jboss.seam.wicket.examples.numberguess.Game
All Implemented Interfaces:
Serializable

@SessionScoped
public class Game
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Game()
           
 
Method Summary
 boolean check()
           
 int getBiggest()
           
 int getGuess()
           
 int getNumber()
           
 int getRemainingGuesses()
           
 int getSmallest()
           
 void reset()
           
 void setGuess(int guess)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Game

public Game()
     throws NamingException
Throws:
NamingException
Method Detail

getNumber

public int getNumber()

getGuess

public int getGuess()

setGuess

public void setGuess(int guess)

getSmallest

public int getSmallest()

getBiggest

public int getBiggest()

getRemainingGuesses

public int getRemainingGuesses()

check

public boolean check()

reset

@PostConstruct
public void reset()


Copyright © 2011 Seam Framework. All Rights Reserved.