rj-action-library-cpp/RJUpdatable.h

38 lines
471 B
C
Raw Normal View History

2024-05-08 07:17:37 +00:00
/* RJUpdatable.h */
2024-05-12 16:25:45 +00:00
#ifndef ROKOJORI__UPDATABLE_H
#define ROKOJORI__UPDATABLE_H
2024-08-02 06:21:30 +00:00
#include "./RJGodotHeaders.h"
2024-05-08 07:17:37 +00:00
#include "./RJNetworkNode.h"
2024-08-02 06:21:30 +00:00
2024-05-08 07:17:37 +00:00
class RJUpdatable : public RJNetworkNode
{
2024-08-02 06:21:30 +00:00
GDCLASS( RJUpdatable, RJNetworkNode );
2024-05-08 07:17:37 +00:00
protected:
static void _bind_methods();
2024-05-19 15:48:01 +00:00
2024-05-08 07:17:37 +00:00
public:
2024-08-02 06:21:30 +00:00
// update( double delta ) : void
2024-05-08 07:17:37 +00:00
GDVIRTUAL1( update, double );
2024-08-02 06:21:30 +00:00
// Constructor
2024-05-08 07:17:37 +00:00
RJUpdatable();
2024-08-02 06:21:30 +00:00
// Destructor
2024-05-08 07:17:37 +00:00
~RJUpdatable();
};
2024-05-12 16:25:45 +00:00
#endif // ROKOJORI__UPDATABLE_H