rj-action-library-cpp/RJSequenceAction.h

38 lines
566 B
C
Raw Permalink Normal View History

2024-05-08 07:17:37 +00:00
/* RJSequenceAction.h */
2024-05-12 16:25:45 +00:00
#ifndef ROKOJORI__SEQUENCE_ACTION_H
#define ROKOJORI__SEQUENCE_ACTION_H
2024-05-08 07:17:37 +00:00
#include "./RJAction.h"
2024-05-12 16:25:45 +00:00
class RJSequenceAction : public RJAction
2024-05-08 07:17:37 +00:00
{
GDCLASS(RJSequenceAction, RJAction);
protected:
static void _bind_methods();
2024-05-12 16:25:45 +00:00
int idCounter = 0;
2024-05-08 07:17:37 +00:00
public:
2024-05-12 16:25:45 +00:00
int dispatchStart();
void dispatchCancelled( int id );
void dispatchEnd( int id );
int getLastSequenceActionID();
GDVIRTUAL1( cancelAction, int );
/* signal onSequenceDone */
2024-05-08 07:17:37 +00:00
RJSequenceAction();
~RJSequenceAction();
};
2024-05-12 16:25:45 +00:00
#endif // ROKOJORI__SEQUENCE_ACTION_H