generated from Persson-dev/Godot-Xmake
stick pens on walls
This commit is contained in:
24
include/client/Bullet.h
Normal file
24
include/client/Bullet.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#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;
|
||||
float m_LifeTime;
|
||||
};
|
||||
|
||||
} // namespace blitz
|
||||
Reference in New Issue
Block a user