Exemplo n.º 1
0
Arquivo: IState.cs Projeto: mmvlad/ecs
 public virtual void Initialize(World world, bool freeze, bool restore)
 {
     world.Register(ref this.filters, freeze, restore);
     world.Register(ref this.structComponents, freeze, restore);
     world.Register(ref this.storage, freeze, restore);
     world.Register(ref this.components, freeze, restore);
 }
Exemplo n.º 2
0
 public virtual void Initialize(World world, bool freeze, bool restore)
 {
     world.Register(ref this.filters, freeze, restore);
     world.Register(ref this.structComponents, freeze, restore);
     #if FILTERS_STORAGE_LEGACY
     world.Register(ref this.storage, freeze, restore);
     #endif
     this.globalEvents.Initialize();
     this.timers.Initialize();
 }