public void Upgrade() { Level += 1; if (CurrentPart != null && Level != 3) { CurrentPart.Upgrade(); } }
public void Upgrade() { if (Level <= 3) { Level++; baseMaxSpeed = ((0.5F * Level)); CurrentPart.Upgrade(); } }