public TcpController(Regulus.Utility.Command command, Regulus.Utility.Console.IViewer view) { _Command = command; _View = view; _Machine = new Game.StageMachine(); }
public User(Regulus.Remoting.Soul.SoulProvider provider , Regulus.Project.TurnBasedRPG.UserRoster user_roster , IWorld world) { _UserRoster = user_roster; _Machine = new Regulus.Game.StageMachine<User>(this); Provider = provider; provider.BreakEvent += Quit; _World = world; }
public User(Remoting.ISoulBinder provider, Regulus.Project.SamebestKeys.UserRoster user_roster, IWorld world , IStorage storage) { _Storage = storage; _UserRoster = user_roster; _Machine = new Regulus.Game.StageMachine<User>(this); Provider = provider; provider.BreakEvent += Quit; _World = world; }
public Peer(System.Net.Sockets.Socket client) { _Socket = client; _SoulProvider = new Remoting.Soul.SoulProvider(this, this); _Responses = new Queue<Remoting.Package>(); _Requests = new Queue<Request>(); _ReadMachine = new Game.StageMachine(); _WriteMachine = new Game.StageMachine(); _Enable = true; }
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.Game.StageMachine(); _View = view; }
public Core(Regulus.Remoting.ISoulBinder binder, IStorage storage, IZone zone ) { _Zone = zone; Storage = storage; _Binder = binder; _StageMachine = new Regulus.Game.StageMachine(); binder.BreakEvent += _OnInactive; _StatusEvent += (s) => { }; }
public Core(Regulus.Remoting.ISoulBinder binder, IStorage storage, IMap zone , Battle.IZone battle) { _Battle = battle; _Zone = zone; Storage = storage; _Binder = binder; _Binder.Bind<IUserStatus>(this); _StageMachine = new Regulus.Game.StageMachine(); binder.BreakEvent += _OnInactive; _StatusEvent += (s) => { }; }
public Levels(MapPrototype map_prototype, Squad squad) { _Position = 0.0f; _Id = Guid.NewGuid(); this._MapPrototype = map_prototype; _Stations = new Queue<Station>(_MapPrototype.Stations); _StageMachine = new Regulus.Game.StageMachine(); _Platoon = new Platoon(squad); _Platoon.EmptyEvent += () => { ReleaseEvent(); }; _Platoons = new Utility.Updater<Platoon>(); ; }
internal void Initial(Team team1, Team team2) { _CommonSkillSet = new CommonSkillSet(); _CommonSkillSet.Shuffle(); _CommonSkillSet.EmptyEvent += () => { DrawEvent(); }; _Teams = new Team[] { team1 , team2 }; _StageMachine = new Regulus.Game.StageMachine(); _Take(_Teams , _CommonSkillSet); _InitialBroadcasting(_Teams); _ToStrategy(_Teams); }
public User(Regulus.Remoting.ISoulBinder provider) { StageMachine = new Regulus.Game.StageMachine(); //_ToConnectState(provider); _ToLoginState(provider); }
public Bot(Regulus.Project.SamebestKeys.IUser user,string account) { _Machine = new Regulus.Game.StageMachine(); this._User = user; _Account = account; }