Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches
Flint::GameModuleStorage< States > Struct Template Reference
+ Collaboration diagram for Flint::GameModuleStorage< States >:

Public Attributes

std::array< StateOps, sizeof...(States)> stateOperations {makeStateOps<States>()...}
 
GameModule module
 

Detailed Description

template<typename... States>
struct Flint::GameModuleStorage< States >

Definition at line 22 of file game-module.h.

Member Data Documentation

◆ module

template<typename... States>
GameModule Flint::GameModuleStorage< States >::module
Initial value:
{
.abiVersion = GAME_MODULE_ABI_VERSION,
.stateOps = stateOperations.data(),
.stateOpsCount = stateOperations.size(),
}

Definition at line 25 of file game-module.h.

◆ stateOperations

template<typename... States>
std::array<StateOps, sizeof...(States)> Flint::GameModuleStorage< States >::stateOperations {makeStateOps<States>()...}

Definition at line 23 of file game-module.h.


The documentation for this struct was generated from the following file: