33 lines
529 B
C++
33 lines
529 B
C++
|
/* RJAction.cpp */
|
||
|
|
||
|
#include "RJAction.h"
|
||
|
|
||
|
|
||
|
void RJAction::_bind_methods()
|
||
|
{
|
||
|
GDVIRTUAL_BIND( _onTrigger );
|
||
|
|
||
|
ClassDB::bind_method( D_METHOD( "trigger" ) , &RJAction::trigger );
|
||
|
|
||
|
/*
|
||
|
ClassDB::bind_method(D_METHOD("add", "value"), &RokojoriAction::add);
|
||
|
ClassDB::bind_method(D_METHOD("reset"), &RokojoriAction::reset);
|
||
|
ClassDB::bind_method(D_METHOD("get_total"), &RokojoriAction::get_total);
|
||
|
*/
|
||
|
}
|
||
|
|
||
|
void RJAction::trigger()
|
||
|
{
|
||
|
GDVIRTUAL_CALL( _onTrigger );
|
||
|
}
|
||
|
|
||
|
RJAction::RJAction()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
RJAction::~RJAction()
|
||
|
{
|
||
|
|
||
|
}
|