33 lines
457 B
C++
33 lines
457 B
C++
#pragma once
|
|
|
|
#include <godot_cpp/godot.hpp>
|
|
#include <godot_cpp/classes/sprite2d.hpp>
|
|
|
|
namespace SE {
|
|
|
|
using namespace godot;
|
|
|
|
|
|
class GDExample : public Sprite2D
|
|
{
|
|
GDCLASS(GDExample, Sprite2D)
|
|
|
|
public:
|
|
|
|
#pragma region Data
|
|
float time_passed;
|
|
#pragma endregion Data
|
|
|
|
#pragma region GodotRT
|
|
static void _bind_methods();
|
|
|
|
//void _init() override;
|
|
void _process(double delta) override;
|
|
#pragma endregion GodotRT
|
|
|
|
GDExample();
|
|
~GDExample();
|
|
};
|
|
|
|
|
|
} // SE
|