28 lines
359 B
C
28 lines
359 B
C
|
/* RJAction.h */
|
||
|
|
||
|
#ifndef ROKOJORI_CORE__ACTION_H
|
||
|
#define ROKOJORI_CORE__ACTION_H
|
||
|
|
||
|
#include "./RJNetworkNode.h"
|
||
|
|
||
|
class RJAction : public RJNetworkNode
|
||
|
{
|
||
|
GDCLASS(RJAction, RJNetworkNode);
|
||
|
|
||
|
|
||
|
protected:
|
||
|
static void _bind_methods();
|
||
|
|
||
|
GDVIRTUAL0( _onTrigger )
|
||
|
|
||
|
public:
|
||
|
|
||
|
void trigger();
|
||
|
|
||
|
RJAction();
|
||
|
~RJAction();
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // ROKOJORI_CORE__ACTION_H
|