29 lines
		
	
	
		
			428 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			428 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include <godot_cpp/godot.hpp>
 | 
						|
#include <godot_cpp/classes/sprite2d.hpp>
 | 
						|
 | 
						|
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();
 | 
						|
};
 | 
						|
 | 
						|
} |