cz.cuni.amis.pogamut.ut2004.examples.deathmatch1v1
Class DeathMatch1v1

Package class diagram package DeathMatch1v1
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.examples.deathmatch1v1.DeathMatch1v1

public class DeathMatch1v1
extends Object


Constructor Summary
DeathMatch1v1()
           
 
Method Summary
 UT2004DeathMatch1v1 createMatch()
           
 String getBot1JarPath()
          Defines path to the jar that contains the first bot.
 String getBot1Name()
          Defines name of the first bot, this identifier will be used in generated statistics.
 String getBot2JarPath()
          Defines path to the jar that contains the second bot.
 String getBot2Name()
          Defines name of the second bot, this identifier will be used in generated statistics.
 int getFragLimit()
          Defines the frag limit (goal score) for the death match.
 String getMapName()
          Defines map that will be used for death match.
 String getOutputDir()
          Defines folder where we will output results.
 int getTimeLimitInMinutes()
          Defines time limit for the game in minutes.
 String getUT2004Home()
          Defines the home of UT2004 that has GameBots2004 installed.
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeathMatch1v1

public DeathMatch1v1()
Method Detail

getUT2004Home

public String getUT2004Home()
Defines the home of UT2004 that has GameBots2004 installed.

Returns:

getMapName

public String getMapName()
Defines map that will be used for death match.

Returns:

getFragLimit

public int getFragLimit()
Defines the frag limit (goal score) for the death match.

Returns:

getTimeLimitInMinutes

public int getTimeLimitInMinutes()
Defines time limit for the game in minutes. The game will end after the specified number of minutes if frag limit is not reached by neither of bots.

Returns:

getBot1Name

public String getBot1Name()
Defines name of the first bot, this identifier will be used in generated statistics.

Returns:

getBot1JarPath

public String getBot1JarPath()
Defines path to the jar that contains the first bot. The jar must be executable, i.e., it contains all libraries embedded (fortunately example projects are auto-generating such jars ;-).

Returns:

getBot2Name

public String getBot2Name()
Defines name of the second bot, this identifier will be used in generated statistics.

Returns:

getBot2JarPath

public String getBot2JarPath()
Defines path to the jar that contains the second bot. The jar must be executable, i.e., it contains all libraries embedded (fortunately example projects are auto-generating such jars ;-).

Returns:

getOutputDir

public String getOutputDir()
Defines folder where we will output results.


createMatch

public UT2004DeathMatch1v1 createMatch()

run

public void run()

main

public static void main(String[] args)


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.