// not a very elegant solution, but it works
 void objectInstance_IntersectsUnit(object sender, IObjectArgs <IUnit> e)
 {
     simulation.QueueEventCall(() => { if (IntersectsUnit != null)
                                       {
                                           IntersectsUnit(sender, e);
                                       }
                               });
 }
Esempio n. 2
0
 void unit1_IntersectsUnit(object sender, IObjectArgs <IUnit> e)
 {
     DebugOutput("UNITS INTERSECTED");
 }