Class TowerBenchmarkSim

java.lang.Object
com.prineside.tdi2.utils.simulation.AbstractSimulation
com.prineside.tdi2.utils.simulation.TowerBenchmarkSim
All Implemented Interfaces:
Simulation

public final class TowerBenchmarkSim extends AbstractSimulation
Must run a game with a full endless research tree CREATE TABLE IF NOT EXISTS `towers_benchmark` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `benchmarkName` varchar(50) NOT NULL, `waves` smallint(5) unsigned NOT NULL, `extraTowers` enum('BLAST','FREEZING','FREEZING_BLAST','NONE') NOT NULL, `tower` enum('BASIC','SNIPER','CANNON','FREEZING','AIR','SPLASH','BLAST','MULTISHOT','MINIGUN','VENOM','TESLA','MISSILE','FLAMETHROWER','LASER','GAUSS','CRUSHER') NOT NULL, `aimStrategy` enum('FIRST','LAST','WEAKEST','STRONGEST','NEAREST','RANDOM') NOT NULL, `abilities` enum('NONE','1','2','3','1/2','1/3','2/3','ULT','1/ULT','2/ULT','3/ULT','1/2/ULT','1/3/ULT','2/3/ULT','PWR','1/PWR','2/PWR','3/PWR','1/2/PWR','1/3/PWR','2/3/PWR') NOT NULL, `upgradeLevel` tinyint(3) unsigned NOT NULL, `xpLevel` tinyint(3) unsigned NOT NULL, `towerPrice` smallint(5) unsigned NOT NULL, `maxTowerDPS` int(10) unsigned NOT NULL DEFAULT '0', `avgTowerDPS` int(10) unsigned NOT NULL DEFAULT '0', `mdps` int(10) unsigned NOT NULL DEFAULT '0', `maxTowerKills` smallint(5) unsigned NOT NULL, `totalKills` smallint(5) unsigned NOT NULL, `ups` int(10) unsigned NOT NULL, `totalDamage` double unsigned NOT NULL DEFAULT '0', `dpsPerCoin` float unsigned NOT NULL DEFAULT '0', `killsPerCoin` float unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  • Field Details

  • Constructor Details

  • Method Details

    • prepareSimForm

      public static void prepareSimForm(SimulationScreen simScreen)
    • getName

      public CharSequence getName()
    • setSimFinishListener

      public void setSimFinishListener(Runnable onFinish)
    • getProgress

      public float getProgress()
    • start

      public void start()
    • isRunning

      public boolean isRunning()
    • isReadyToStart

      public boolean isReadyToStart()
    • isSuccessful

      public boolean isSuccessful()
    • stop

      public void stop()