public bool PhotonCollidesWithShip(PlayerShip playerShip) { foreach (Photon photon in _photons) { if (photon.IsActive) { if (playerShip.IsPointWithin(photon.Location)) { return true; } } } return false; }
public void Start(PlayerShip ship) { Lines = ship.Sprite.ToLineList(); CreateDeltas(); }