public void ArriveAtPlanet(Planet planet) { planet.AddFleet(this); currentPlanet = planet; currentSolarSystem = planet.solarSystem; destinationPlanet = null; this.transform.position = planet.transform.position; }
void TransferFleetToPlanet(Planet planet) { if (planet.team.id == this.team.id) planet.AddFleet(fleetSize); else planet.RemoveFleet(fleetSize, this.team); this.fleetSize = 0; }