AMFP Enhanced
C++ reference: the code this unofficial fork added
Loading...
Searching...
No Matches
cLuxStuckTimer Class Reference

Play time without progress (a new map, checkpoint, hint, note or diary page). More...

#include <LuxGuidance.h>

Public Member Functions

 cLuxStuckTimer (float afFirst=kLuxStuckNudgeTime, float afRepeat=0)
 Nudges at afFirst, then at every multiple of afRepeat (afRepeat defaults to afFirst).
void SetTimes (float afFirst, float afRepeat=0)
void Update (float afTimeStep, bool abPlaying)
void OnProgress ()
bool TakeNudge ()
 True once per nudge time without progress.
bool IsColourLayer () const
 The second layer: stuck past the repeat time (only when it is later than the first nudge).

Detailed Description

Play time without progress (a new map, checkpoint, hint, note or diary page).

Definition at line 67 of file LuxGuidance.h.

Constructor & Destructor Documentation

◆ cLuxStuckTimer()

cLuxStuckTimer::cLuxStuckTimer ( float afFirst = kLuxStuckNudgeTime,
float afRepeat = 0 )
inlineexplicit

Nudges at afFirst, then at every multiple of afRepeat (afRepeat defaults to afFirst).

Definition at line 71 of file LuxGuidance.h.

Member Function Documentation

◆ SetTimes()

void cLuxStuckTimer::SetTimes ( float afFirst,
float afRepeat = 0 )
inline

Definition at line 73 of file LuxGuidance.h.

◆ Update()

void cLuxStuckTimer::Update ( float afTimeStep,
bool abPlaying )
inline

Definition at line 79 of file LuxGuidance.h.

◆ OnProgress()

void cLuxStuckTimer::OnProgress ( )
inline

Definition at line 90 of file LuxGuidance.h.

◆ TakeNudge()

bool cLuxStuckTimer::TakeNudge ( )
inline

True once per nudge time without progress.

Definition at line 92 of file LuxGuidance.h.

◆ IsColourLayer()

bool cLuxStuckTimer::IsColourLayer ( ) const
inline

The second layer: stuck past the repeat time (only when it is later than the first nudge).

Definition at line 94 of file LuxGuidance.h.


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