Exemple #1
0
 public CollisionCheckResult(bool target, bool collisionImminent, Vector3D coords, double distance, double time, CollisionDetectType type, IMyEntity entity)
 {
     HasTarget         = target;
     CollisionImminent = collisionImminent;
     Coords            = coords;
     Distance          = distance;
     Time   = time;
     Type   = type;
     Entity = entity;
 }
Exemple #2
0
 public CollisionCheckResult(bool empty)
 {
     HasTarget         = false;
     CollisionImminent = false;
     Coords            = Vector3D.Zero;
     Distance          = 0;
     Time   = 0;
     Type   = CollisionDetectType.None;
     Entity = null;
 }