Uses of Class
com.iwolverton.smartbeetle.Settings
-
Packages that use Settings Package Description com.iwolverton.smartbeetle com.iwolverton.smartbeetle.internal -
-
Uses of Settings in com.iwolverton.smartbeetle
Subclasses of Settings in com.iwolverton.smartbeetle Modifier and Type Class Description classSettingsBuilderSince the Settings class is immutable.Methods in com.iwolverton.smartbeetle that return Settings Modifier and Type Method Description static SettingsSettings. alternateSettingsAbundantAntsAndAmmo()Frequent ants and lots of ammostatic SettingsSettings. alternateSettingsNoAnts()No ants.SettingsSettingsBuilder. build()static SettingsSettings. defaultSettings()The default settings.Methods in com.iwolverton.smartbeetle with parameters of type Settings Modifier and Type Method Description default voidBeetleAi. init(GameState state, Settings settings)Optionally implement this method.static intAiStatsRunner. runAi(Class<? extends BeetleAi> aiClass, Settings settings)Run one game with the given AI.static StatsAiStatsRunner. runAiStats(Class<? extends BeetleAi> aiClass, Settings settings)Run given AI repeatedly and collect survival statistics.static List<Stats>AiStatsRunner. runAndCompareAis(Settings settings, Class<? extends BeetleAi>... aiClasses)Run given AIs repeatedly and print comparative survival statistics.Constructors in com.iwolverton.smartbeetle with parameters of type Settings Constructor Description Game(Settings settings)Run visual game with no AI and default settings.Game(Class<? extends BeetleAi> aiClass, Settings settings)Run visual game with given AI and settings.Settings(Settings from)SettingsBuilder(Settings from) -
Uses of Settings in com.iwolverton.smartbeetle.internal
Constructors in com.iwolverton.smartbeetle.internal with parameters of type Settings Constructor Description GameRules(Settings settings)GameStateFactory(Settings settings)
-