R-Type
R-Type project
KapEngine::Events::EventAction Class Reference

Public Member Functions

void registerAction (std::function< void()> func)
 register an action to do (lambda) More...
 
void invoke ()
 call all actions More...
 
void clear ()
 clear all actions More...
 

Member Function Documentation

◆ clear()

void KapEngine::Events::EventAction::clear ( )
inline

clear all actions

◆ invoke()

void KapEngine::Events::EventAction::invoke ( )
inline

call all actions

◆ registerAction()

void KapEngine::Events::EventAction::registerAction ( std::function< void()>  func)
inline

register an action to do (lambda)

Parameters
func

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