29 lines
380 B
C
29 lines
380 B
C
|
#pragma once
|
||
|
|
||
|
#include <Godot.hpp>
|
||
|
#include <Sprite.hpp>
|
||
|
|
||
|
namespace godot {
|
||
|
|
||
|
class GDExample : public Sprite
|
||
|
{
|
||
|
GODOT_CLASS(GDExample, Sprite)
|
||
|
|
||
|
public:
|
||
|
|
||
|
#pragma region Data
|
||
|
float time_passed;
|
||
|
#pragma endregion Data
|
||
|
|
||
|
#pragma region GodotRT
|
||
|
static void _register_methods();
|
||
|
|
||
|
void _init();
|
||
|
void _process(float delta);
|
||
|
#pragma endregion GodotRT
|
||
|
|
||
|
GDExample();
|
||
|
~GDExample();
|
||
|
};
|
||
|
|
||
|
}
|