Build a GDExtension with MarshConnector Node
This commit is contained in:
parent
2ab1ee403e
commit
3066bdacc9
10 changed files with 323698 additions and 4 deletions
26
src/marshconnector.h
Normal file
26
src/marshconnector.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue