Directory structure refactor
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user