Пример #1
0
    void TransferFleetToPlanet(Planet planet)
    {
        if (planet.team.id == this.team.id)
            planet.AddFleet(fleetSize);
        else
            planet.RemoveFleet(fleetSize, this.team);

        this.fleetSize = 0;
    }