nl.tudelft.goal.ut3.environment
Class AmmoTests

Package class diagram package AmmoTests
java.lang.Object
  extended by nl.tudelft.goal.ut3.environment.AbstractEnvironmentTests
      extended by nl.tudelft.goal.ut3.environment.TimeOutEnvironmentTests
          extended by nl.tudelft.goal.ut3.environment.AmmoTests

public class AmmoTests
extends TimeOutEnvironmentTests

Author:
Evers

Field Summary
 
Fields inherited from class nl.tudelft.goal.ut3.environment.TimeOutEnvironmentTests
TIMEOUT
 
Fields inherited from class nl.tudelft.goal.ut3.environment.AbstractEnvironmentTests
actionHandlers, agents, BOT_NAME, BOT_TEAM, MAP_NAME, perceptHandlers, runner, startupPercepts, testBot
 
Constructor Summary
AmmoTests()
           
 
Method Summary
 void shootBioRifle()
          Shoot with the bio-rifle and check the ammo.
 void shootEnforcerTest()
          Start shooting with the enforcer and check the ammo.
 void shootLinkGun()
          Shoot with the linkgun and check the ammo.
 void shootRocketLauncher()
          Shoot with the rocket launcher and check the ammo
 void shootShockRifle()
          Shoot with the shock-rifle and check the ammo.
 void shootStinger()
          Shoot with the stinger minigun and check the ammo.
 
Methods inherited from class nl.tudelft.goal.ut3.environment.TimeOutEnvironmentTests
initializeTimeout, setUpTest, tearDown, timeout
 
Methods inherited from class nl.tudelft.goal.ut3.environment.AbstractEnvironmentTests
getPercepts, setUpClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmmoTests

public AmmoTests()
Method Detail

shootEnforcerTest

public void shootEnforcerTest()
                       throws InterruptedException,
                              eis.exceptions.PerceiveException
Start shooting with the enforcer and check the ammo.

Throws:
InterruptedException
eis.exceptions.PerceiveException

shootRocketLauncher

public void shootRocketLauncher()
                         throws InterruptedException
Shoot with the rocket launcher and check the ammo

Throws:
InterruptedException

shootBioRifle

public void shootBioRifle()
                   throws InterruptedException
Shoot with the bio-rifle and check the ammo.

Throws:
InterruptedException

shootShockRifle

public void shootShockRifle()
                     throws InterruptedException
Shoot with the shock-rifle and check the ammo.

Throws:
InterruptedException

shootStinger

public void shootStinger()
                  throws InterruptedException
Shoot with the stinger minigun and check the ammo.

Throws:
InterruptedException

shootLinkGun

public void shootLinkGun()
                  throws InterruptedException
Shoot with the linkgun and check the ammo.

Throws:
InterruptedException


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