Пример #1
0
 protected override void OnItemDeath(MortalItemDeathEvent e) {
     if ((e.Source as StarBaseItem) == Item) {
         CleanupOnDeath();
     }
 }
Пример #2
0
 protected override void OnItemDeath(MortalItemDeathEvent e) {
     if ((e.Source as FleetCmdModel) == Model) {
         CleanupOnDeath();
     }
 }