Beispiel #1
0
 private void Handle(ComponentRemovedMessage msg)
 {
     if (msg.Component is TileMapComponent)
     {
         _tileMap = null;
     }
 }
 private void Handle(ComponentRemovedMessage msg)
 {
     if (msg.Component is UpdateableComponent updateableComponent)
     {
         Remove(updateableComponent);
     }
 }
Beispiel #3
0
 private void Handle(ComponentRemovedMessage componentRemovedMessage)
 {
     if (componentRemovedMessage.Component is RenderableComponent renderableComponent)
     {
         Remove(renderableComponent);
     }
 }