Пример #1
0
 public override void SendCollisions()
 {
     if (!args.Cleared)
     {
         SendCollisionUpdate(args.Copy());
         args.Clear();
     }
 }
Пример #2
0
 public override void SendCollisions()
 {
     if (!IsPhysical)
     {
         return; //Not physical, its not supposed to be here
     }
     if (!CollisionEventsThisFrame.Cleared)
     {
         base.SendCollisionUpdate(CollisionEventsThisFrame.Copy());
         CollisionEventsThisFrame.Clear();
     }
 }
Пример #3
0
 public override bool SendCollisions()
 {
     if (!IsPhysical)
     {
         return(false); //Not physical, its not supposed to be here
     }
     if (!CollisionEventsThisFrame.Cleared)
     {
         SendCollisionUpdate(CollisionEventsThisFrame.Copy());
         CollisionEventsThisFrame.Clear();
     }
     return(true);
 }