Build a GDExtension with MarshConnector Node

This commit is contained in:
Marek S. Łukasiewicz 2025-01-28 12:47:14 +01:00
parent 2ab1ee403e
commit 3066bdacc9
10 changed files with 323698 additions and 4 deletions

26
src/marshconnector.h Normal file
View file

@ -0,0 +1,26 @@
#ifndef MARSHCONNECTOR_H
#define MARSHCONNECTOR_H
#include <godot_cpp/classes/node.hpp>
namespace godot {
class MarshConnector : public Node{
GDCLASS(MarshConnector, Node)
private:
double time_passed;
protected:
static void _bind_methods();
public:
MarshConnector();
~MarshConnector();
void _process(double delta) override;
};
}
#endif // MARSHCONNECTOR_H