nl.tudelft.goal.ut3.environment
Class ChangeWeaponTests

Package class diagram package ChangeWeaponTests
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.ChangeWeaponTests

public class ChangeWeaponTests
extends TimeOutEnvironmentTests

Basic tests to cover weapon changing.

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
ChangeWeaponTests()
           
 
Method Summary
 void changeToBioRifleTest()
          Changes the current weapon to the biorifle.
 void changeToEnforcerTest()
          Changes the current weapon to the enforcer.
 void changeToFlakCannonTest()
          Changes the current weapon to the .
 void changeToImpactHammerTest()
          Changes the current weapon to the impact hammer.
 void changeToLinkGunTest()
          Changes the current weapon to the linkgun.
 void changeToRocketLauncherTest()
          Changes the current weapon to the rocket launcher.
 void changeToShockRifleTest()
          Changes the current weapon to the enforcer.
 void changeToStingerTest()
          Changes the current weapon to the enforcer.
 void initTest()
           
static void navigateToPickup()
          Navigate to the weaponlocker to pickup all the weapons required for the test.
 
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

ChangeWeaponTests

public ChangeWeaponTests()
Method Detail

navigateToPickup

public static void navigateToPickup()
                             throws InterruptedException,
                                    eis.exceptions.PerceiveException
Navigate to the weaponlocker to pickup all the weapons required for the test.

Throws:
InterruptedException
eis.exceptions.PerceiveException

initTest

public void initTest()

changeToImpactHammerTest

public void changeToImpactHammerTest()
                              throws eis.exceptions.PerceiveException
Changes the current weapon to the impact hammer.

Throws:
eis.exceptions.PerceiveException

changeToEnforcerTest

public void changeToEnforcerTest()
                          throws eis.exceptions.PerceiveException
Changes the current weapon to the enforcer.

Throws:
eis.exceptions.PerceiveException

changeToBioRifleTest

public void changeToBioRifleTest()
                          throws eis.exceptions.PerceiveException
Changes the current weapon to the biorifle.

Throws:
eis.exceptions.PerceiveException

changeToLinkGunTest

public void changeToLinkGunTest()
                         throws eis.exceptions.PerceiveException
Changes the current weapon to the linkgun.

Throws:
eis.exceptions.PerceiveException

changeToRocketLauncherTest

public void changeToRocketLauncherTest()
                                throws eis.exceptions.PerceiveException
Changes the current weapon to the rocket launcher.

Throws:
eis.exceptions.PerceiveException

changeToFlakCannonTest

public void changeToFlakCannonTest()
                            throws eis.exceptions.PerceiveException
Changes the current weapon to the .

Throws:
eis.exceptions.PerceiveException

changeToShockRifleTest

public void changeToShockRifleTest()
                            throws eis.exceptions.PerceiveException
Changes the current weapon to the enforcer.

Throws:
eis.exceptions.PerceiveException

changeToStingerTest

public void changeToStingerTest()
                         throws eis.exceptions.PerceiveException
Changes the current weapon to the enforcer.

Throws:
eis.exceptions.PerceiveException


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