Files
Blitz3/include/client/Bullet.h

25 lines
389 B
C++

#pragma once
#include <godot_cpp/classes/node3d.hpp>
#include <godot_cpp/classes/ray_cast3d.hpp>
namespace blitz {
class Bullet : public godot::Node3D {
GDCLASS(Bullet, godot::Node3D)
protected:
static void _bind_methods();
public:
Bullet();
~Bullet();
void _process(float delta);
void _ready() override;
private:
bool m_Stuck;
void Destroy();
};
} // namespace blitz