コード例 #1
0
 public FooBarSystem(IGameRunner game, FooSystem foo, TestSystem test, EmptySystem empty) : base(game)
 {
     TestSwitch = false;
     _foo       = foo;
     _test      = test;
     _empty     = empty;
 }
コード例 #2
0
 public TestSystem(GameRunner game, EmptySystem emptySystem) : base(game)
 {
     _prevStates            = new Dictionary <TestComponent, bool>();
     ComponentRegistered   += OnComponentRegistered;
     ComponentUnRegistered += OnComponentUnRegistered;
     _emptySystem           = emptySystem;
 }
コード例 #3
0
 private void InjectSharperSystems(EmptySystem emptySys)
 {
     _system = emptySys;
 }