Rise
The Vieneo Province
Loading...
Searching...
No Matches
EarPopSequence Class Reference

#include <EarPopSequence.h>

Collaboration diagram for EarPopSequence:
[legend]

Classes

struct  Voice
struct  Playback

Public Member Functions

 EarPopSequence (std::uint32_t seed=2098u)
void Reset ()
Playback Update (bool audible, unsigned int characterId, float seconds, bool popped)

Private Member Functions

std::uint32_t Random ()
float Unit ()

Private Attributes

std::uint32_t randomState
bool initialized = false
unsigned int character = 0
int lastVariant = -1
bool pending = false
Voice second
float elapsed = 0.0f

Detailed Description

Definition at line 8 of file EarPopSequence.h.

Constructor & Destructor Documentation

◆ EarPopSequence()

EarPopSequence::EarPopSequence ( std::uint32_t seed = 2098u)
inlineexplicit

Definition at line 43 of file EarPopSequence.h.

Member Function Documentation

◆ Random()

std::uint32_t EarPopSequence::Random ( )
inlineprivate

Definition at line 35 of file EarPopSequence.h.

Here is the caller graph for this function:

◆ Reset()

void EarPopSequence::Reset ( )
inline

Definition at line 45 of file EarPopSequence.h.

Here is the caller graph for this function:

◆ Unit()

float EarPopSequence::Unit ( )
inlineprivate

Definition at line 40 of file EarPopSequence.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Update()

Playback EarPopSequence::Update ( bool audible,
unsigned int characterId,
float seconds,
bool popped )
inline

Definition at line 52 of file EarPopSequence.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ character

unsigned int EarPopSequence::character = 0
private

Definition at line 29 of file EarPopSequence.h.

◆ elapsed

float EarPopSequence::elapsed = 0.0f
private

Definition at line 33 of file EarPopSequence.h.

◆ initialized

bool EarPopSequence::initialized = false
private

Definition at line 28 of file EarPopSequence.h.

◆ lastVariant

int EarPopSequence::lastVariant = -1
private

Definition at line 30 of file EarPopSequence.h.

◆ pending

bool EarPopSequence::pending = false
private

Definition at line 31 of file EarPopSequence.h.

◆ randomState

std::uint32_t EarPopSequence::randomState
private

Definition at line 27 of file EarPopSequence.h.

◆ second

Voice EarPopSequence::second
private

Definition at line 32 of file EarPopSequence.h.


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