Directory structure refactor

This commit is contained in:
2024-12-04 12:26:10 +01:00
parent 29d3c11fd1
commit 7ecb90af1f
12 changed files with 8 additions and 9 deletions

View File

@@ -1,10 +1,9 @@
#include "../headers/Player.h"
#include "../headers/Bullet.h"
// TODO: Podzielić na klasy Bullet i Rocket.
Player::Player(int x, int y, std::string path) : Actor(x, y, path) {
bulletTexture.loadFromFile("../assets/img/bullet_left.png");
rocketTexture.loadFromFile("../assets/img/Rocket_111.png");
bulletTexture.loadFromFile("../assets/img/bullets/bullet_pink.png");
rocketTexture.loadFromFile("../assets/img/rockets/Rocket_111.png");
};
void Player::shoot() {