[Added] The ability to fire bullets to the player

This commit is contained in:
Ninjaws
2024-12-13 22:04:33 +01:00
parent 88e0b7cb05
commit 55792bb954
7 changed files with 266 additions and 9 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef PBULLET_H
#define PBULLET_H
#include "entities/Bullet.h"
#include <iostream>
class PBullet : public Bullet {
public:
PBullet() {}
PBullet(Vector2 pos, float angle) : Bullet(pos, angle) {
this->color = YELLOW;
}
private:
void objCollision() override {
}
};
#endif