Exemplo n.º 1
0
 public void Register(PacemakerComponent _GameComponent)
 {
     GameObjects.Add(_GameComponent);
     if(_GameComponent.getCollisonObject() != null)
         collisionObjects.Add(_GameComponent.getCollisonObject());
     _GameComponent.Initialize();
 }
Exemplo n.º 2
0
 public void Unregister(PacemakerComponent _GameComponent)
 {
     GameObjects.Remove(_GameComponent);
     if (_GameComponent.getCollisonObject() != null)
     collisionObjects.Remove(_GameComponent.getCollisonObject());
 }