private bool CollisionDetection(Ship ship) { foreach (Ship s in _ships) { if ((s != ship) && (Ship.CollisionDetection(s, ship))) { return(true); } } return(false); }
private bool CollisionDetection(Ship ship) { foreach (Ship s in _ships) { if ((s != ship) && (Ship.CollisionDetection(s, ship))) { return(true); } } return(false); }