コード例 #1
0
ファイル: Core.cs プロジェクト: tuita520/Regulus
 void Regulus.Utility.ICore.ObtainController(Regulus.Remoting.ISoulBinder binder)
 {
     binder.Bind <TestNativeGameCore.IMessager>(this);
     binder.BreakEvent += () =>
     {
         binder.Unbind <TestNativeGameCore.IMessager>(this);
     };
 }
コード例 #2
0
ファイル: Core.cs プロジェクト: jiowchern/KeysCore
        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) => { };
        }