aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/BotManager.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-08-12 18:48:18 +0100
committerJustin Clark-Casey (justincc)2013-08-12 18:48:18 +0100
commite5b1688913d0fb9e72f67d0b476778a733ddb4b5 (patch)
tree59d7499b4e51813679c5e8d3c9a3429ff8b884a2 /OpenSim/Tools/pCampBot/BotManager.cs
parentCreate TestSameSimulatorNeighbouringRegionsTeleportV2() regression test for V... (diff)
downloadopensim-SC_OLD-e5b1688913d0fb9e72f67d0b476778a733ddb4b5.zip
opensim-SC_OLD-e5b1688913d0fb9e72f67d0b476778a733ddb4b5.tar.gz
opensim-SC_OLD-e5b1688913d0fb9e72f67d0b476778a733ddb4b5.tar.bz2
opensim-SC_OLD-e5b1688913d0fb9e72f67d0b476778a733ddb4b5.tar.xz
Add none behaviour to pCampbot when one wants bots to just stand around
Diffstat (limited to 'OpenSim/Tools/pCampBot/BotManager.cs')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs17
1 files changed, 10 insertions, 7 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index d615b3f..1a46380 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -177,18 +177,21 @@ namespace pCampBot
177 // We must give each bot its own list of instantiated behaviours since they store state. 177 // We must give each bot its own list of instantiated behaviours since they store state.
178 List<IBehaviour> behaviours = new List<IBehaviour>(); 178 List<IBehaviour> behaviours = new List<IBehaviour>();
179 179
180 // Hard-coded for now 180 // Hard-coded for now
181 if (behaviourSwitches.Contains("p")) 181 if (behaviourSwitches.Contains("c"))
182 behaviours.Add(new PhysicsBehaviour()); 182 behaviours.Add(new CrossBehaviour());
183 183
184 if (behaviourSwitches.Contains("g")) 184 if (behaviourSwitches.Contains("g"))
185 behaviours.Add(new GrabbingBehaviour()); 185 behaviours.Add(new GrabbingBehaviour());
186
187 if (behaviourSwitches.Contains("n"))
188 behaviours.Add(new NoneBehaviour());
189
190 if (behaviourSwitches.Contains("p"))
191 behaviours.Add(new PhysicsBehaviour());
186 192
187 if (behaviourSwitches.Contains("t")) 193 if (behaviourSwitches.Contains("t"))
188 behaviours.Add(new TeleportBehaviour()); 194 behaviours.Add(new TeleportBehaviour());
189
190 if (behaviourSwitches.Contains("c"))
191 behaviours.Add(new CrossBehaviour());
192 195
193 StartBot(this, behaviours, firstName, lastName, password, loginUri); 196 StartBot(this, behaviours, firstName, lastName, password, loginUri);
194 } 197 }