controlserver
Class SpawnWeaponTests

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

public class SpawnWeaponTests
extends AbstractControlTests

Test the control connection by adding all the weapons to a bot through the control connection.

Author:
Evers

Field Summary
 
Fields inherited from class 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
SpawnWeaponTests()
           
 
Method Summary
 void addInventoryEnforcer()
          Give the bot another enforcer, this will double the ammo
 void addInventoryShockRifle()
          Give the bot a shock rifle and check the ammo.
 
Methods inherited from class 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

SpawnWeaponTests

public SpawnWeaponTests()
Method Detail

addInventoryEnforcer

public void addInventoryEnforcer()
                          throws InterruptedException
Give the bot another enforcer, this will double the ammo

Throws:
InterruptedException

addInventoryShockRifle

public void addInventoryShockRifle()
                            throws InterruptedException
Give the bot a shock rifle 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.