Bot _CreateBot(TestNativeUser.IUser user, string name) { var bot = new Bot(user, name, _View, _Ip, _Port); _Bots.Add(bot); return(bot); }
public Bot(TestNativeUser.IUser user, string name, Regulus.Utility.Console.IViewer view, string ip, int port) { _Ip = ip;; _Port = port; // TODO: Complete member initialization this.User = user; this._Name = name; _Machine = new Regulus.Utility.StageMachine(); _View = view; }
void _RestoryBot(TestNativeUser.IUser user) { foreach (var bot in _Bots.Objects) { if ((bot as Bot).User == user) { _Bots.Remove(bot); _BotAmount++; } } }
public SendStage(TestNativeUser.IUser user, Regulus.Utility.Console.IViewer view) { _User = user; _View = view; }
public ConnectStage(TestNativeUser.IUser user , string ip , int port) { _Ip = ip; _Port = port; _User = user; }
public ConnectStage(TestNativeUser.IUser user, string ip, int port) { _Ip = ip; _Port = port; _User = user; }