Niby strzela, ale bez kolizji

This commit is contained in:
2024-12-09 17:36:57 +01:00
parent 44f4556fda
commit 13066709a7
10 changed files with 128 additions and 6 deletions

14
headers/EnemyBullet.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef ENEMY_BULLET_H
#define ENEMY_BULLET_H
#include "Projectile.h"
class EnemyBullet : public Projectile {
public:
EnemyBullet(float x, float y, sf::Texture &texture);
void update() override;
void setOutOfBounds(bool status);
};
#endif // ENEMY_BULLET_H