jp.ac.nii.icpc2010.manager
クラス OptionsManager

java.lang.Object
  上位を拡張 jp.ac.nii.icpc2010.manager.OptionsManager

public class OptionsManager
extends java.lang.Object


コンストラクタの概要
OptionsManager()
           
OptionsManager(java.lang.String[] commandLineArgs)
           
 
メソッドの概要
 boolean getBackbufferEnabled()
           
 java.lang.String[] getBackgroundImageName()
           
 java.awt.Color getBoardBgColor()
           
 int getCellHeight()
           
 int getCellWidth()
           
 java.lang.String getCoinImageName()
           
 java.awt.Color getCommentColor()
           
 int getCommentLines()
           
 java.awt.Color getCounterColor()
           
 long getDisplayInterval()
           
 boolean getDrawOnlyChanges()
           
 int getGameRounds()
           
 long getInitTimeout()
           
 double getItemInitProb()
           
 double getItemRegenProb()
           
 java.lang.String getLevelName()
           
 int getMaxTurns()
           
 int getNumOfPlayers()
           
 java.lang.String getOpeningName()
           
 int getOpeningTime()
           
 java.lang.String getPlaybackFile()
          File to playback the game from, or null if none was set
 java.util.Vector<java.lang.String> getPlayerClasses()
           
 java.lang.String getRecordFile()
          File to record the game to, or null if none was set
 long getRunTimeout()
           
 java.lang.String getScoreClass()
           
 java.awt.Color getScoreColor()
           
 TimeoutAction getTimeoutAction()
           
 int getTrailLimitAmount()
           
 java.awt.Color getTronColor(int playerId)
           
 java.lang.String getTronHeadImageName(int playerId)
           
 java.lang.String getTronImageName(int playerId)
           
 java.lang.String getTronTrailCornerImageName(int playerId)
           
 long getTurnTimeslot()
           
 java.lang.String getWallImageName()
           
 boolean hasTrailLimit()
           
 boolean isDisplayQuote()
           
 boolean isLastmanStanding()
           
 boolean isLoggingOn()
           
 boolean isTournamentMode()
           
 boolean isTronHeadImage()
           
static void main(java.lang.String... args)
           
 void overrideWithCommandLine(java.lang.String[] args)
          Read options from the command line, overriding those from the XML file as appropriate.
 void setTurnTimeslot(long timeslot)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

OptionsManager

public OptionsManager()

OptionsManager

public OptionsManager(java.lang.String[] commandLineArgs)
メソッドの詳細

isTournamentMode

public boolean isTournamentMode()

main

public static void main(java.lang.String... args)

overrideWithCommandLine

public void overrideWithCommandLine(java.lang.String[] args)
Read options from the command line, overriding those from the XML file as appropriate.

パラメータ:
args -

getOpeningName

public java.lang.String getOpeningName()

getLevelName

public java.lang.String getLevelName()

getRecordFile

public java.lang.String getRecordFile()
File to record the game to, or null if none was set

戻り値:

getPlaybackFile

public java.lang.String getPlaybackFile()
File to playback the game from, or null if none was set

戻り値:

getPlayerClasses

public java.util.Vector<java.lang.String> getPlayerClasses()

isLoggingOn

public boolean isLoggingOn()

getBackgroundImageName

public java.lang.String[] getBackgroundImageName()

getWallImageName

public java.lang.String getWallImageName()

getTronImageName

public java.lang.String getTronImageName(int playerId)

getTronHeadImageName

public java.lang.String getTronHeadImageName(int playerId)

getTronTrailCornerImageName

public java.lang.String getTronTrailCornerImageName(int playerId)

getCoinImageName

public java.lang.String getCoinImageName()

getBoardBgColor

public java.awt.Color getBoardBgColor()

getCounterColor

public java.awt.Color getCounterColor()

getScoreColor

public java.awt.Color getScoreColor()

getCommentColor

public java.awt.Color getCommentColor()

isTronHeadImage

public boolean isTronHeadImage()

isDisplayQuote

public boolean isDisplayQuote()

getTronColor

public java.awt.Color getTronColor(int playerId)

getGameRounds

public int getGameRounds()

getTimeoutAction

public TimeoutAction getTimeoutAction()

getInitTimeout

public long getInitTimeout()

getRunTimeout

public long getRunTimeout()

getTurnTimeslot

public long getTurnTimeslot()

setTurnTimeslot

public void setTurnTimeslot(long timeslot)

getDisplayInterval

public long getDisplayInterval()

getCellWidth

public int getCellWidth()

getCellHeight

public int getCellHeight()

getTrailLimitAmount

public int getTrailLimitAmount()

hasTrailLimit

public boolean hasTrailLimit()

getOpeningTime

public int getOpeningTime()

getScoreClass

public java.lang.String getScoreClass()

getNumOfPlayers

public int getNumOfPlayers()

getMaxTurns

public int getMaxTurns()

isLastmanStanding

public boolean isLastmanStanding()

getItemInitProb

public double getItemInitProb()

getItemRegenProb

public double getItemRegenProb()

getCommentLines

public int getCommentLines()

getBackbufferEnabled

public boolean getBackbufferEnabled()

getDrawOnlyChanges

public boolean getDrawOnlyChanges()