Ejemplo n.º 1
0
 public PackageReader(ISerializer serializer)
 {
     _Machine    = new StageMachine();
     _Serializer = serializer;
     _DoneEvent += _Empty;
     ErrorEvent += _Empty;
 }
Ejemplo n.º 2
0
 public User(ISoulBinder soul_binder,IAccountFinder account_finder , IWheelService wheel_service)
 {
     _SoulBinder = soul_binder;
     _AccountFinder = account_finder;
     _WheelService = wheel_service;
     _Machine = new StageMachine();
 }
Ejemplo n.º 3
0
    // Use this for initialization
    void Start()
    {
        _Machine = new Regulus.Utility.StageMachine();

        _InitialWindow();
        this._ToSetting();
    }
Ejemplo n.º 4
0
 public User(IAgent agent)
 {
     _Agent = agent;
     _ConnectProvider = new TProvider<IConnect>();
     _OnlineProvider = new TProvider<IOnline>();
     _Machine = new StageMachine();
     _Updater = new Updater();
 }
Ejemplo n.º 5
0
    public AdsorptionWindow()
    {
        _Machine = new StageMachine();



        _Drawer = this;
    }
 public ControlStatus(ISoulBinder binder, Entity player, Mover mover , IMapFinder map)
 {
     _Binder = binder;
     _Player = player;
     _Map = map;
     _Status = new StageMachine();
     _TimeCounter = new TimeCounter();
 }
Ejemplo n.º 7
0
 public Aboriginal(IMapFinder map, IMapGate gate, Entity actor, Wisdom wisdom)
 {
     _Gate    = gate;
     _Wisdom  = wisdom;
     _Updater = new Updater();
     _Map     = map;
     _Actor   = actor;
     _Machine = new StageMachine();
 }
Ejemplo n.º 8
0
 public Bot(string ip_address, int port, IUser user)
 {
     // TODO: Complete member initialization
     _IpAddress = ip_address;
     _Port = port;
     _User = user;
     _Id = Guid.NewGuid();
     _Machine = new StageMachine();
 }
Ejemplo n.º 9
0
 public Aboriginal(IMapFinder map,IMapGate gate, Entity actor ,  Wisdom wisdom)
 {
     _Gate = gate;
     _Wisdom = wisdom;
     _Updater = new Updater();
     _Map = map;
     _Actor = actor;
     _Machine = new StageMachine();
 }
Ejemplo n.º 10
0
 public Aboriginal(IMapFinder map, IMapGate gate, Entity actor, Behavior behavior)
 {
     _Gate     = gate;
     _Behavior = behavior;
     _Updater  = new Updater();
     _Map      = map;
     _Actor    = actor;
     _Machine  = new StageMachine();
 }
Ejemplo n.º 11
0
        public User(ISoulBinder binder, IAccountFinder account_finder, IGameRecorder game_record_handler, Zone zone)
        {
            this._Machine = new StageMachine();

            this._Binder = binder;
            this._AccountFinder = account_finder;
            this._GameRecorder = game_record_handler;
            this._Zone = zone;
            _Version = "0.0.0.0";
        }
Ejemplo n.º 12
0
        public Complex()
        {
            _LogRecorder = new LogFileRecorder("Play");

            _StorageVerifyData = new Regulus.CustomType.Verify();
            _FormulaVerifyData = new Regulus.CustomType.Verify();
            _Machine = new StageMachine();
            _Updater = new Updater();

            _BuildParams();
            _BuildUser();
        }
Ejemplo n.º 13
0
        public GameStage(ISoulBinder binder, IMapFinder map, IMapGate gate, Entity entity)
        {
            _Gate              = gate;
            _Map               = map;
            _Binder            = binder;
            _DeltaTimeCounter  = new TimeCounter();
            _UpdateTimeCounter = new TimeCounter();
            _Updater           = new Updater();
            _Machine           = new StageMachine();
            _DifferenceNoticer = new DifferenceNoticer <IIndividual>();

            _Player = entity;
            _Mover  = new Mover(this._Player);
        }
Ejemplo n.º 14
0
 public PeerHandler(Command command, Utility.Console.IViewer viwer, IPeer peer)
 {
     _SendMachine                   = new StageMachine();
     _ReceiveMachine                = new StageMachine();
     _Viewer                        = viwer;
     _Command                       = command;
     _Id                            = ++_PeerId;
     _Peer                          = peer;
     _CommandSendString             = string.Format("ss{0}", _Id);
     _CommandSendContinousNumber    = string.Format("scn{0}", _Id);
     _CommandReceiveString          = string.Format("rs{0}", _Id);
     _CommandReceiveContinousNumber = string.Format("rcn{0}", _Id);
     _CommandView                   = string.Format("view{0}", _Id);
 }
Ejemplo n.º 15
0
        public GameStage(ISoulBinder binder, IMapFinder map , IMapGate gate, Entity entity)
        {
            _Gate = gate;
            _Map = map;
            _Binder = binder;
            _DeltaTimeCounter = new TimeCounter();
            _UpdateTimeCounter = new TimeCounter();
            _Updater = new Updater();
            _Machine = new StageMachine();
            _DifferenceNoticer = new DifferenceNoticer<IIndividual>();

            _Player = entity;
            _Mover = new Mover(this._Player);
        }
Ejemplo n.º 16
0
 public User(ISoulBinder binder, IStorage storage)
 {
     _Storage = storage;
     _Binder = binder;
     _Machine = new StageMachine();
 }
Ejemplo n.º 17
0
 public Login()
 {
     _Machine = new StageMachine();
 }
Ejemplo n.º 18
0
 public QuickLaunch()
 {
     _Machine = new Regulus.Utility.StageMachine();
 }
Ejemplo n.º 19
0
 public LoginHandler()
 {
     _Machine = new Regulus.Utility.StageMachine();
 }
Ejemplo n.º 20
0
        private void _Setup()
        {
            _Machine = new StageMachine();
            _Updater = new Updater();
            _Binders = new Queue<ISoulBinder>();

            _UnhandleCrash();
            _InitialLog();

            _CreateStorage();

            _Enable = true;
        }
Ejemplo n.º 21
0
 public Login()
 {
     _Machine = new StageMachine();
 }
Ejemplo n.º 22
0
 public TalkerBroadcaster()
 {
     _Machine = new StageMachine();
 }
Ejemplo n.º 23
0
 protected override void _Launch()
 {
     _Machine = new StageMachine();
     _ToStart();
 }
Ejemplo n.º 24
0
 public AccountBroadcaster()
 {
     _Machine = new StageMachine();
 }
Ejemplo n.º 25
0
		public Server()
		{
			_Machine = new StageMachine();
			_Updater = new Updater();
		}
Ejemplo n.º 26
0
 public PlayerBroadcaster()
 {
     _Machine = new StageMachine();
 }