eMotion
 All Classes Functions Variables Enumerations
Static Public Member Functions | List of all members
eLogic Class Reference

Static Public Member Functions

static bool handleEvent (ePersonality *out_personality, eEvent *eevent)
 
static const eReactiongetReaction (ePersonality const *personality)
 

Member Function Documentation

const eReaction * eLogic::getReaction ( ePersonality const *  personality)
static

Returns the actual reaction of the personality

Parameters
personalitythe personality, which is aksed for its state
Returns
a pointer to the acktive eReaction from the personality
bool eLogic::handleEvent ( ePersonality out_personality,
eEvent eevent 
)
static

Handles an eEvent occurence, and delegates it.

Parameters
out_personalitythe personality, which percepts the eevent
eeventhe eEvent
Returns
true, if the personality was properly updated

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