public TcpController(Regulus.Utility.Command command, Regulus.Utility.Console.IViewer view) { _Command = command; _View = view; _Machine = new Game.StageMachine(); }
public RemotingController(Regulus.Utility.Command command, Regulus.Utility.Console.IViewer view) { _View = view; _User = new User(); _Updater = new Regulus.Utility.Updater(); _Command = command; }
public BatchCommander(Regulus.Utility.Command command) { _Timer = new Regulus.Utility.TimeCounter(); this._Command = command; _Command.Register("1" , _1); _CommandStrings = new Queue<CommandString>(); }
public BatchCommander(Regulus.Utility.Command command) { _Timer = new Regulus.Utility.TimeCounter(); this._Command = command; _Command.Register("1", _1); _CommandStrings = new Queue <CommandString>(); }
public BatchCommander(Regulus.Utility.Command command, Regulus.Utility.ConsoleViewer viewer) { _Timer = new Regulus.Utility.TimeCounter(); this._Command = command; _Command.Register("1" , _1); _Command.Register("2", _2); _Command.Register("3", _3); _CommandStrings = new Queue<CommandString>(); }
public BatchCommander(Regulus.Utility.Command command, Regulus.Utility.ConsoleViewer viewer) { _Timer = new Regulus.Utility.TimeCounter(); command.Register("1", _1); command.Register("2", _2); command.Register("3", _3); command.Register("4", _4); this._Command = command; _CommandStrings = new Queue<CommandString>(); _CommandStrings.Enqueue(new CommandString() { Name = "standalong" , Args = new string[]{}}); _CommandStrings.Enqueue(new CommandString() { Name = "spawncontroller", Args = new string[] { "茄子"} }); _CommandStrings.Enqueue(new CommandString() { Name = "selectcontroller", Args = new string[] { "茄子" } }); _CommandStrings.Enqueue(new CommandString() { Name = "ready", Args = new string[] { } }); _CommandStrings.Enqueue(new CommandString() { Name = "login", Args = new string[] { "1" ,"1" } }); _CommandStrings.Enqueue(new CommandString() { Name = "selectactor", Args = new string[] {"123" } }); _CommandStrings.Enqueue(new CommandString() { Name = "spawncontroller", Args = new string[] { "彥龍" } }); _CommandStrings.Enqueue(new CommandString() { Name = "selectcontroller", Args = new string[] { "彥龍" } }); _CommandStrings.Enqueue(new CommandString() { Name = "ready", Args = new string[] {} }); _CommandStrings.Enqueue(new CommandString() { Name = "login", Args = new string[] { "2", "1" } }); _CommandStrings.Enqueue(new CommandString() { Name = "selectactor", Args = new string[] { "456" } }); /*_CommandStrings.Enqueue(new CommandString() { Name = "spawncontroller", Args = new string[] { "茄子1" } }); _CommandStrings.Enqueue(new CommandString() { Name = "selectcontroller", Args = new string[] { "茄子1" } }); _CommandStrings.Enqueue(new CommandString() { Name = "login", Args = new string[] { "1", "1" } }); _CommandStrings.Enqueue(new CommandString() { Name = "selectactor", Args = new string[] { "123" } }); _CommandStrings.Enqueue(new CommandString() { Name = "spawncontroller", Args = new string[] { "彥龍1" } }); _CommandStrings.Enqueue(new CommandString() { Name = "selectcontroller", Args = new string[] { "彥龍1" } }); _CommandStrings.Enqueue(new CommandString() { Name = "login", Args = new string[] { "2", "1" } }); _CommandStrings.Enqueue(new CommandString() { Name = "selectactor", Args = new string[] { "456" } });*/ _CommandStrings.Enqueue(new CommandString() { Name = "inbattle", Args = new string[] { } }); }
public static void Register <TR>(this Regulus.Utility.Command instance, string command, System.Func <TR> executer) { instance.Register(command, executer, _Empty); }
public StageStart(Regulus.Utility.Command command , Regulus.Utility.Console.IViewer view) { _View = view; _Command = command; }