nl.tudelft.goal.ut3.controlserver
Class SpawnAmmoWeaponTests

Package class diagram package SpawnAmmoWeaponTests
java.lang.Object
  extended by nl.tudelft.goal.ut3.environment.AbstractEnvironmentTests
      extended by nl.tudelft.goal.ut3.controlserver.AbstractControlTests
          extended by nl.tudelft.goal.ut3.controlserver.SpawnAmmoWeaponTests

public class SpawnAmmoWeaponTests
extends AbstractControlTests

First we add ammo to the bot and after that we add the weapon, ammo should be added to the weapon.

Author:
Evers

Field Summary
 
Fields inherited from class nl.tudelft.goal.ut3.controlserver.AbstractControlTests
utServer
 
Fields inherited from class nl.tudelft.goal.ut3.environment.AbstractEnvironmentTests
actionHandlers, agents, BOT_NAME, BOT_TEAM, MAP_NAME, perceptHandlers, runner, startupPercepts, testBot
 
Constructor Summary
SpawnAmmoWeaponTests()
           
 
Method Summary
 void addShockCoreAndShockRifle()
          Add 8 shock cores and the shock rifle, ammo should be 28.
 
Methods inherited from class nl.tudelft.goal.ut3.controlserver.AbstractControlTests
initControlServer
 
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

SpawnAmmoWeaponTests

public SpawnAmmoWeaponTests()
Method Detail

addShockCoreAndShockRifle

public void addShockCoreAndShockRifle()
                               throws InterruptedException
Add 8 shock cores and the shock rifle, ammo should be 28.

Throws:
InterruptedException


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