aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/BotManager.cs
diff options
context:
space:
mode:
authorMelanie Thielker2009-05-04 12:15:55 +0000
committerMelanie Thielker2009-05-04 12:15:55 +0000
commit1b877234dada9f14cebc486cc426db892beae152 (patch)
tree762ee7172c66a78b643f4cef0eed946314816403 /OpenSim/Tools/pCampBot/BotManager.cs
parentThanks BlueWall for Mantis #3578 - adding Hypergrid connection to JSON Stats (diff)
downloadopensim-SC_OLD-1b877234dada9f14cebc486cc426db892beae152.zip
opensim-SC_OLD-1b877234dada9f14cebc486cc426db892beae152.tar.gz
opensim-SC_OLD-1b877234dada9f14cebc486cc426db892beae152.tar.bz2
opensim-SC_OLD-1b877234dada9f14cebc486cc426db892beae152.tar.xz
Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simple
console capable of processing commands. Create LocalConsole as a console that uses cursor control and context help. Precursor to a distributed console system for the new grid services. No functional change intended :)
Diffstat (limited to 'OpenSim/Tools/pCampBot/BotManager.cs')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index c015bbc..2cd947e 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -47,7 +47,7 @@ namespace pCampBot
47 { 47 {
48 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 48 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
49 49
50 protected ConsoleBase m_console; 50 protected CommandConsole m_console;
51 protected List<PhysicsBot> m_lBot; 51 protected List<PhysicsBot> m_lBot;
52 protected Thread[] m_td; 52 protected Thread[] m_td;
53 protected bool m_verbose = true; 53 protected bool m_verbose = true;
@@ -206,9 +206,9 @@ namespace pCampBot
206 /// Standard CreateConsole routine 206 /// Standard CreateConsole routine
207 /// </summary> 207 /// </summary>
208 /// <returns></returns> 208 /// <returns></returns>
209 protected ConsoleBase CreateConsole() 209 protected CommandConsole CreateConsole()
210 { 210 {
211 return new ConsoleBase("Region"); 211 return new LocalConsole("Region");
212 } 212 }
213 213
214 private void HandleShutdown(string module, string[] cmd) 214 private void HandleShutdown(string module, string[] cmd)