Jazz2/Multiplayer/GameModes/IGameMode.h file

Namespaces

namespace Jazz2
Root namespace of Jazz² Resurrection.
namespace Jazz2::Actors
Implementation of all objects.
namespace Jazz2::Multiplayer
Multiplayer-related classes, compiled only if WITH_MULTIPLAYER.

Classes

struct Jazz2::Multiplayer::RespawnDecision
Result of IGameMode::DecideRespawn.
struct Jazz2::Multiplayer::GameEndResult
Result of IGameMode::CheckGameEnds.
class Jazz2::Multiplayer::IGameModeContext
Services a game mode needs from its host level handler.
class Jazz2::Multiplayer::IGameModeHUD
Drawing surface a game mode uses to render its own part of the HUD.
class Jazz2::Multiplayer::IGameMode
Rules of a single multiplayer game mode.

Enums

enum class LevelExitAction { Ignore, ChangeToNextLevel, EndGameForInitiator, WarpToStartIncrementLap }
What should happen when a player reaches the level exit, as decided by the game mode.
enum class GameModeFontType { Small, Medium }
Selects which HUD font a game mode draws text with.
enum class GameModeHudIcon { Food, GemRed, GemGreen }
A semantic HUD icon a game mode can draw; the HUD maps it to a concrete sprite.