diff --git a/demo/bin/libSideScrollingShooter.linux.template_debug.x86_64.so b/demo/bin/libSideScrollingShooter.linux.template_debug.x86_64.so index 32cbc5a..66e8952 100755 Binary files a/demo/bin/libSideScrollingShooter.linux.template_debug.x86_64.so and b/demo/bin/libSideScrollingShooter.linux.template_debug.x86_64.so differ diff --git a/src/Bullet.cpp b/src/Bullet.cpp new file mode 100644 index 0000000..935fa94 --- /dev/null +++ b/src/Bullet.cpp @@ -0,0 +1,20 @@ +#include "Bullet.hpp" + +#include +#include +#include +#include + +namespace godot { + Bullet::Bullet() { + + } + + Bullet::~Bullet() { + + } + + void Bullet::_bind_methods() { + + } +}; diff --git a/src/Bullet.hpp b/src/Bullet.hpp new file mode 100644 index 0000000..e40959d --- /dev/null +++ b/src/Bullet.hpp @@ -0,0 +1,18 @@ +#include + +namespace godot { + class Bullet : public RigidBody2D { + GDCLASS(Bullet, RigidBody2D) + + private: + int nothing = 0; + + protected: + static void _bind_methods(); + + public: + Bullet(); + ~Bullet(); + + }; +}; diff --git a/src/Enemy.cpp b/src/Enemy.cpp new file mode 100644 index 0000000..641de94 --- /dev/null +++ b/src/Enemy.cpp @@ -0,0 +1,20 @@ +#include "Enemy.hpp" + +#include +#include +#include +#include + +namespace godot { + Enemy::Enemy() { + + } + + Enemy::~Enemy() { + + } + + void Enemy::_bind_methods() { + + } +}; diff --git a/src/Enemy.hpp b/src/Enemy.hpp new file mode 100644 index 0000000..752bb5e --- /dev/null +++ b/src/Enemy.hpp @@ -0,0 +1,18 @@ +#include + +namespace godot { + class Enemy : public RigidBody2D { + GDCLASS(Enemy, RigidBody2D) + + private: + int nothing = 0; + + protected: + static void _bind_methods(); + + public: + Enemy(); + ~Enemy(); + + }; +}; diff --git a/src/RegisterTypes.cpp b/src/RegisterTypes.cpp index 557c302..ef3d9fd 100644 --- a/src/RegisterTypes.cpp +++ b/src/RegisterTypes.cpp @@ -1,6 +1,9 @@ #include "RegisterTypes.hpp" #include "Player.hpp" +#include "Bullet.hpp" +#include "Enemy.hpp" +#include "Wave.hpp" #include #include @@ -14,6 +17,9 @@ void InitializeModule(ModuleInitializationLevel p_level) { } GDREGISTER_CLASS(Player); + GDREGISTER_CLASS(Bullet); + GDREGISTER_CLASS(Wave); + GDREGISTER_CLASS(Enemy); } void UninitializeModule(ModuleInitializationLevel p_level) { diff --git a/src/Wave.cpp b/src/Wave.cpp new file mode 100644 index 0000000..f9c1b43 --- /dev/null +++ b/src/Wave.cpp @@ -0,0 +1,20 @@ +#include "Wave.hpp" + +#include +#include +#include +#include + +namespace godot { + Wave::Wave() { + + } + + Wave::~Wave() { + + } + + void Wave::_bind_methods() { + + } +}; diff --git a/src/Wave.hpp b/src/Wave.hpp new file mode 100644 index 0000000..73ad240 --- /dev/null +++ b/src/Wave.hpp @@ -0,0 +1,18 @@ +#include + +namespace godot { + class Wave : public Node2D { + GDCLASS(Wave, Node2D) + + private: + int nothing = 0; + + protected: + static void _bind_methods(); + + public: + Wave(); + ~Wave(); + + }; +};