generated from Persson-dev/Godot-Xmake
Better Implementation of Timer
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <godot_cpp/classes/mesh_instance3d.hpp>
|
||||
#include <godot_cpp/classes/node3d.hpp>
|
||||
#include <godot_cpp/classes/ray_cast3d.hpp>
|
||||
#include <godot_cpp/classes/timer.hpp>
|
||||
|
||||
namespace blitz {
|
||||
class Bullet : public godot::Node3D {
|
||||
@@ -22,6 +23,7 @@ class Bullet : public godot::Node3D {
|
||||
godot::GPUParticles3D* m_Particles;
|
||||
godot::RayCast3D* m_Ray;
|
||||
godot::MeshInstance3D* m_Mesh;
|
||||
godot::Timer* m_Timer;
|
||||
|
||||
void _on_timer_timeout();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user