GlistEngine
Loading...
Searching...
No Matches
gAnimationTrigger Class Reference

#include <gSpriteAnimation.h>

Public Member Functions

template<typename First , typename Second >
constexpr gAnimationTrigger (First *first, Second *second, TriggerCondition cond)
 
bool isConditionTriggered ()
 

Detailed Description

An individual instance of this class should not be created. This class is only meant to be used as a parameter to createSpriteAnim() function. For creating an instance, refer to the createTrigger function.

See also
createTrigger()

Constructor & Destructor Documentation

◆ gAnimationTrigger()

template<typename First , typename Second >
constexpr gAnimationTrigger::gAnimationTrigger ( First *  first,
Second *  second,
TriggerCondition  cond 
)
inlineconstexpr

Member Function Documentation

◆ isConditionTriggered()

bool gAnimationTrigger::isConditionTriggered ( )
inline

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