Mario Kart 64
Loading...
Searching...
No Matches
RaceManager Class Reference

#include <RaceManager.h>

Collaboration diagram for RaceManager:
[legend]

Public Member Functions

 RaceManager (World &world)
 
virtual void Load ()
 
virtual void PreInit ()
 
virtual void BeginPlay ()
 
virtual void PostInit ()
 
virtual void Clean ()
 

Protected Attributes

WorldWorldContext
 

Detailed Description

This may eventually become GameMode class

The RaceManager orchestrates the event lifecycle It defines when a race begins, actors spawn, and the race ends.

It does not define the game mode itself.

You must call the base function if you want the default functionality to run Example: MyRaceManager::BeginPlay() { RaceManager::BeginPlay() // <– Calls default functionality // My code here }

Constructor & Destructor Documentation

◆ RaceManager()

RaceManager::RaceManager ( World & world)

Member Function Documentation

◆ BeginPlay()

void RaceManager::BeginPlay ( )
virtual
Here is the call graph for this function:

◆ Clean()

void RaceManager::Clean ( )
virtual

◆ Load()

void RaceManager::Load ( )
virtual

◆ PostInit()

void RaceManager::PostInit ( )
virtual
Here is the call graph for this function:

◆ PreInit()

void RaceManager::PreInit ( )
virtual

Field Documentation

◆ WorldContext

World& RaceManager::WorldContext
protected

The documentation for this class was generated from the following files: