add _ready and _process to example

main
Nathan Franke 4 years ago
parent bebc1a7391
commit b9ef2ae392
No known key found for this signature in database
GPG Key ID: 082B90CF10A5B648

@ -18,6 +18,16 @@ MyNode::~MyNode()
{ {
} }
// Override built-in methods with your own logic. Make sure to declare them in the header as well!
void MyNode::_ready()
{
}
void MyNode::_process(double delta)
{
}
void MyNode::hello_node() void MyNode::hello_node()
{ {
UtilityFunctions::print("Hello GDExtension Node!"); UtilityFunctions::print("Hello GDExtension Node!");

@ -15,5 +15,8 @@ public:
MyNode(); MyNode();
~MyNode(); ~MyNode();
void _ready() override;
void _process(double delta) override;
void hello_node(); void hello_node();
}; };

Loading…
Cancel
Save