public PodRacerRaceState Copy() { PodRacerRaceState copy; copy = new PodRacerRaceState(PodRacer.Copy()) { CurrentCommand = CurrentCommand.Copy(), ShieldPenaltyRoundsCounter = ShieldPenaltyRoundsCounter, HasBoosted = HasBoosted, Failed = Failed, CurrentCheckPoint = CurrentCheckPoint.Copy(), RoundsFinished = RoundsFinished, CheckPointsReached = CheckPointsReached }; return(copy); }