net.trajano.twiff.sample.component
Class NumberToGuess

java.lang.Object
  extended by net.trajano.twiff.sample.component.NumberToGuess
All Implemented Interfaces:
Serializable

public final class NumberToGuess
extends Object
implements Serializable

This class wraps the number to guess.

Author:
Archimedes Trajano
See Also:
Serialized Form

Constructor Summary
NumberToGuess()
          Constructs the number to guess.
 
Method Summary
 int getNumber()
          Gets the number to guess.
 void newRandom()
          Sets a new random number to guess.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberToGuess

public NumberToGuess()
Constructs the number to guess.

Method Detail

getNumber

public int getNumber()
Gets the number to guess.

Returns:
the number to guess.

newRandom

public void newRandom()
Sets a new random number to guess.



Copyright © 2004-2005 trajano.net. All Rights Reserved.