Jazz2::Multiplayer::TeamRaceMode class

Team Race game mode.

Like RaceMode, but players race in teams (a team wins once all of its members have completed the required laps). The HUD is identical and inherited; only the team flag differs. Round logic is still handled by the host (see RaceMode::OwnsRoundLogic), so the team win condition lives there for now.

Base classes

class RaceMode
Race game mode.

Public functions

auto GetMode() const -> MpGameMode override
Returns the game mode identifier.
auto IsTeamBased() const -> bool override
Returns whether players are split into teams.