aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/BotManager.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-10 19:40:45 +0000
committerJustin Clark-Casey (justincc)2011-11-10 19:40:45 +0000
commitf31a58bd999db3d333da42c4fb15e35e989d9717 (patch)
tree48b1a47c96e9e9be5cafebda3ad8f2dc6b662e7c /OpenSim/Tools/pCampBot/BotManager.cs
parentAdd GuduleLapointe to list of contributors (diff)
downloadopensim-SC_OLD-f31a58bd999db3d333da42c4fb15e35e989d9717.zip
opensim-SC_OLD-f31a58bd999db3d333da42c4fb15e35e989d9717.tar.gz
opensim-SC_OLD-f31a58bd999db3d333da42c4fb15e35e989d9717.tar.bz2
opensim-SC_OLD-f31a58bd999db3d333da42c4fb15e35e989d9717.tar.xz
Remove unused index parameter from BotManager.startupBot(). Rename startupBot() => StartBot()
Diffstat (limited to 'OpenSim/Tools/pCampBot/BotManager.cs')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index c4c6f8f..c77e144 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -136,7 +136,7 @@ namespace pCampBot
136 if (behaviourSwitches.Contains("g")) 136 if (behaviourSwitches.Contains("g"))
137 behaviours.Add(new GrabbingBehaviour()); 137 behaviours.Add(new GrabbingBehaviour());
138 138
139 startupBot(i, this, behaviours, firstName, lastName, password, loginUri); 139 StartBot(this, behaviours, firstName, lastName, password, loginUri);
140 } 140 }
141 } 141 }
142 142
@@ -156,22 +156,21 @@ namespace pCampBot
156// int newlen = len + botcount; 156// int newlen = len + botcount;
157// for (int i = len; i < newlen; i++) 157// for (int i = len; i < newlen; i++)
158// { 158// {
159// startupBot(i, Config); 159// startupBot(Config);
160// } 160// }
161// } 161// }
162 162
163 /// <summary> 163 /// <summary>
164 /// This starts up the bot and stores the thread for the bot in the thread array 164 /// This starts up the bot and stores the thread for the bot in the thread array
165 /// </summary> 165 /// </summary>
166 /// <param name="pos">The position in the thread array to stick the bot's thread</param>
167 /// <param name="bm"></param> 166 /// <param name="bm"></param>
168 /// <param name="behaviours">Behaviours for this bot to perform.</param> 167 /// <param name="behaviours">Behaviours for this bot to perform.</param>
169 /// <param name="firstName">First name</param> 168 /// <param name="firstName">First name</param>
170 /// <param name="lastName">Last name</param> 169 /// <param name="lastName">Last name</param>
171 /// <param name="password">Password</param> 170 /// <param name="password">Password</param>
172 /// <param name="loginUri">Login URI</param> 171 /// <param name="loginUri">Login URI</param>
173 public void startupBot( 172 public void StartBot(
174 int pos, BotManager bm, List<IBehaviour> behaviours, 173 BotManager bm, List<IBehaviour> behaviours,
175 string firstName, string lastName, string password, string loginUri) 174 string firstName, string lastName, string password, string loginUri)
176 { 175 {
177 Bot pb = new Bot(bm, behaviours, firstName, lastName, password, loginUri); 176 Bot pb = new Bot(bm, behaviours, firstName, lastName, password, loginUri);