#ifndef PROJECTILE_HPP #define PROJECTILE_HPP #include "weapon_data.hpp" #include namespace godot { class ProjectilePool; class Projectile : public Node3D { GDCLASS(Projectile, Node3D); static void _bind_methods(); public: void return_to_pool(); void set_weapon_data(Ref data); void set_projectile_pool(ProjectilePool *pool); protected: ProjectilePool *pool{nullptr}; Ref data{nullptr}; }; } #endif // !PROJECTILE_HPP