コード例 #1
0
 public InorganicsOwner(Entity[] entitys, IMapGate gate , Wisdom wisdom)
 {
     _Wisdom = wisdom;
     _Entitys = entitys;
     _Gate = gate;
     _Updater = new Updater();
 }
コード例 #2
0
 public Core(IAccountFinder account_finder , IWheelService wheel_service)
 {
     _AccountFinder = account_finder;
     _WheelService = wheel_service;
     _Updater = new Updater();
     _Hall = new Hall();
 }
コード例 #3
0
 public InorganicsOwner(Entity[] entitys, IMapGate gate, Wisdom wisdom)
 {
     _Wisdom  = wisdom;
     _Entitys = entitys;
     _Gate    = gate;
     _Updater = new Updater();
 }
コード例 #4
0
        public Server()
        {
            _Updater = new Updater();

            var service = _LoadWheelServiceFromExtend();
            _Core = new Core(new DummyStorage() , service);
        }
コード例 #5
0
 public InorganicsOwner(Entity[] entitys, IMapGate gate, Behavior behavior)
 {
     _Behavior = behavior;
     _Entitys  = entitys;
     _Gate     = gate;
     _Updater  = new Updater();
 }
コード例 #6
0
 public ServerHandler(int id, IListenable server, Command command, Console.IViewer viewer)
 {
     _Id      = id;
     _Server  = server;
     _Command = command;
     _Viewer  = viewer;
     _Updater = new Updater();
 }
コード例 #7
0
 public ClientHandler(int id, IConnectProviderable client, Command command, Console.IViewer viewer)
 {
     _Id      = id;
     _Client  = client;
     _Command = command;
     _Viewer  = viewer;
     _Updater = new Updater();
 }
コード例 #8
0
        public Agent()
        {
            var protocol = new Regulus.Project.Chat.Common.Provider() as Regulus.Remoting.IProtocol;

            _Agent      = Regulus.Remoting.Ghost.Native.Agent.Create(protocol.GetGPIProvider(), protocol.GetSerialize());
            Distributor = new Regulus.Remoting.Unity.Distributor(_Agent);
            _Updater    = new Updater();
        }
コード例 #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();
 }
コード例 #10
0
ファイル: Aboriginal.cs プロジェクト: moto2002/GameProject1
 public Aboriginal(IMapFinder map, IMapGate gate, Entity actor, Behavior behavior)
 {
     _Gate     = gate;
     _Behavior = behavior;
     _Updater  = new Updater();
     _Map      = map;
     _Actor    = actor;
     _Machine  = new StatusMachine();
 }
コード例 #11
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();
 }
コード例 #12
0
        public UpdatableEntry(OnSpawnUpdatable proviable)
        {
            _Users         = new Utility.Updater();
            _AddBinders    = new System.Collections.Concurrent.ConcurrentQueue <IBinder>();
            _RemoveBinders = new System.Collections.Concurrent.ConcurrentQueue <IUpdatable>();

            _Updater = new Regulus.Remote.ThreadUpdater(_Update);
            _Updater.Start();
            this._Proviable = proviable;
        }
コード例 #13
0
 public Server()
 {
     _LogRecorder = new Regulus.Utility.LogFileRecorder("Storage");
     _DefaultAdministratorName = "itisnotagame";
     _Ip = "mongodb://127.0.0.1:27017";
     _Name = "ItIsNotAGame1";
     _Updater = new Regulus.Utility.Updater();
     _Database = new Regulus.NoSQL.Database(_Ip);
     _Center = new Regulus.Project.ItIsNotAGame1.Game.Storage.Center(this);
 }
コード例 #14
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);
        }
コード例 #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);
        }
コード例 #16
0
 // Use this for initialization
 void Start()
 {
     _Fishs = new Regulus.Utility.Updater();
 }
コード例 #17
0
 public ClientConsole()
 {
     _Updater = new Updater();
 }
コード例 #18
0
ファイル: ToolConsole.cs プロジェクト: tuita520/Regulus
 public ToolConsole()
 {
     _Updater = new Updater();
     Regulus.Network.Profile.Logger.Enable = true;
 }
コード例 #19
0
 public Client()
 {
     _Updater = new Updater();
 }
コード例 #20
0
 public Client()
 {
     _Updater = new Updater();
 }
コード例 #21
0
 public HostCore()
 {
     _Updater = new Updater();
     _Map = new QuadTree<Player>(new Size(4, 4), 1000);
     _Hall = new Hall();
 }
コード例 #22
0
 public Client()
 {
     _Standalone = new VGame.Project.FishHunter.Play.DummyStandalone();
     _Updater    = new Regulus.Utility.Updater();
 }