Serduszka działają
do zrobienia jeszcze animacja uderzenia się w meteoryt (miganie) i wybuch statku przy uderzeniu się w meteoryt po raz trzeci
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
#include "../headers/Player.h"
|
||||
#include "../headers/Bullet.h"
|
||||
#include <utility>
|
||||
|
||||
Player::Player(int x, int y, std::string path) : Actor(x, y, path) {
|
||||
#include "../headers/Player.h"
|
||||
|
||||
Player::Player(int x, int y, std::string path) : Actor(x, y, std::move(path)) {
|
||||
bulletTexture.loadFromFile("../assets/img/bullets/bullet_pink.png");
|
||||
rocketTexture.loadFromFile("../assets/img/rockets/Rocket_111.png");
|
||||
hp = 3;
|
||||
damageDealClock.restart();
|
||||
};
|
||||
|
||||
void Player::shoot() {
|
||||
|
||||
Reference in New Issue
Block a user