Exemplo n.º 1
0
 public ISystem Init(Hub hub, IFlashEventDispatcher eventDispatcher)
 {
     Hub      = hub;
     EventBus = eventDispatcher;
     BeforeInit();
     OnInit();
     return(this);
 }
Exemplo n.º 2
0
 public void Destroy()
 {
     OnDestroy();
     Hub      = null;
     EventBus = null;
 }