com.threerings.parlor.tourney.data
Class TourneyConfig

java.lang.Object
  extended by com.threerings.io.SimpleStreamableObject
      extended by com.threerings.parlor.tourney.data.TourneyConfig
All Implemented Interfaces:
Streamable

public class TourneyConfig
extends SimpleStreamableObject

Stores tournament configuration data.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 Name creator
          The tourney creator.
 EntryFee entryFee
          The fee to join the tourney.
 TourneyLogicData logic
          The tournament logic runtime persistent data.
 int minPlayers
          The minimum number of players needed for the tourney to start.
 Prize prize
          The prize for this tourney.
 int startsIn
          The number of minutes to wait for entrants before starting.
 int tourneyId
          Our unique tourney id.
 
Constructor Summary
TourneyConfig()
           
 
Method Summary
 
Methods inherited from class com.threerings.io.SimpleStreamableObject
toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tourneyId

public int tourneyId
Our unique tourney id.


prize

public Prize prize
The prize for this tourney.


entryFee

public EntryFee entryFee
The fee to join the tourney.


creator

public Name creator
The tourney creator.


minPlayers

public int minPlayers
The minimum number of players needed for the tourney to start.


startsIn

public int startsIn
The number of minutes to wait for entrants before starting.


logic

public TourneyLogicData logic
The tournament logic runtime persistent data.

Constructor Detail

TourneyConfig

public TourneyConfig()