Example #1
0
 private void OnComponentRemoved(GameComponentCollectionEventArgs eventArgs)
 {
     if (ComponentRemoved != null)
     {
         ComponentRemoved(this, eventArgs);
     }
 }
Example #2
0
 private void Components_ComponentRemoved(object sender, GameComponentCollectionEventArgs e)
 {
     DecategorizeComponent(e.GameComponent);
 }
Example #3
0
 private void Components_ComponentAdded(object sender, GameComponentCollectionEventArgs e)
 {
     e.GameComponent.Initialize();
     CategorizeComponent(e.GameComponent);
 }