jp.ac.nii.icpc2010.manager
クラス OptionsManager
java.lang.Object
jp.ac.nii.icpc2010.manager.OptionsManager
public class OptionsManager
- extends java.lang.Object
クラス 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()