Dziuala 3 strzlowiec

This commit is contained in:
2024-12-11 00:05:53 +01:00
parent 81b04bae0f
commit 2bffc2de0c
11 changed files with 25 additions and 52 deletions

View File

@@ -9,7 +9,7 @@
class Actor {
public:
Actor(int x, int y, const sf::Texture& texture);
Actor(int x, int y, std::string path);
void loadTexture(std::string path);
@@ -35,6 +35,8 @@ protected:
sf::Texture actorTexture;
sf::Texture bulletTextureLeft;
sf::Texture bulletTextureRight;
sf::Texture enemyTexture;
sf::Texture advancedEnemyTexture;
Position position;
unsigned int hp;
unsigned int damage;