diff options
author | Justin Clark-Casey (justincc) | 2011-11-03 22:39:06 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-03 22:39:06 +0000 |
commit | f26fdbd8da89ee35a23886defc13b44bc63b1349 (patch) | |
tree | b788fcc4948ab1fc4d3c20d309b5361d3b2c809b /OpenSim/Tools/pCampBot/Behaviours | |
parent | Move one of the old physics sleeps out into the main bot loop, so leaving out... (diff) | |
download | opensim-SC-f26fdbd8da89ee35a23886defc13b44bc63b1349.zip opensim-SC-f26fdbd8da89ee35a23886defc13b44bc63b1349.tar.gz opensim-SC-f26fdbd8da89ee35a23886defc13b44bc63b1349.tar.bz2 opensim-SC-f26fdbd8da89ee35a23886defc13b44bc63b1349.tar.xz |
Rename PhysicsBot => Bot since it doesn't just exercise physics anymore
Diffstat (limited to 'OpenSim/Tools/pCampBot/Behaviours')
-rw-r--r-- | OpenSim/Tools/pCampBot/Behaviours/GrabbingBehaviour.cs | 2 | ||||
-rw-r--r-- | OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Tools/pCampBot/Behaviours/GrabbingBehaviour.cs b/OpenSim/Tools/pCampBot/Behaviours/GrabbingBehaviour.cs index 00313b8..7084ab4 100644 --- a/OpenSim/Tools/pCampBot/Behaviours/GrabbingBehaviour.cs +++ b/OpenSim/Tools/pCampBot/Behaviours/GrabbingBehaviour.cs | |||
@@ -41,7 +41,7 @@ namespace pCampBot | |||
41 | /// </remarks> | 41 | /// </remarks> |
42 | public class GrabbingBehaviour : IBehaviour | 42 | public class GrabbingBehaviour : IBehaviour |
43 | { | 43 | { |
44 | public void Action(PhysicsBot bot) | 44 | public void Action(Bot bot) |
45 | { | 45 | { |
46 | Dictionary<UUID, Primitive> objects = bot.Objects; | 46 | Dictionary<UUID, Primitive> objects = bot.Objects; |
47 | 47 | ||
diff --git a/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs b/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs index bd4a7a2..8d1d1ce 100644 --- a/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs +++ b/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs | |||
@@ -49,7 +49,7 @@ namespace pCampBot | |||
49 | talkarray = readexcuses(); | 49 | talkarray = readexcuses(); |
50 | } | 50 | } |
51 | 51 | ||
52 | public void Action(PhysicsBot bot) | 52 | public void Action(Bot bot) |
53 | { | 53 | { |
54 | int walkorrun = bot.Random.Next(4); // Randomize between walking and running. The greater this number, | 54 | int walkorrun = bot.Random.Next(4); // Randomize between walking and running. The greater this number, |
55 | // the greater the bot's chances to walk instead of run. | 55 | // the greater the bot's chances to walk instead of run. |