示例#1
0
文件: Ship.cs 项目: eogas/bfrtky
 public override bool Collides(PhysicalObject p)
 {
     if (ShieldTimeout > 0)
         return false;
     else
         return base.Collides(p);
 }
示例#2
0
 public virtual bool Collides(PhysicalObject p)
 {
     return (this.Position - p.Position).Length() <= this.Radius + p.Radius;
 }