todo added
This commit is contained in:
@@ -22,6 +22,7 @@ void Boss::setPlanszaHeight(int height, int width) {
|
|||||||
planszaWidth = width;
|
planszaWidth = width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Po mergowaniu dodać obsługę pocisku, przy pomocy nowego konstruktora Bullet
|
||||||
void Boss::shoot() {
|
void Boss::shoot() {
|
||||||
if (shootClock.getElapsedTime().asMilliseconds() >= firerate) {
|
if (shootClock.getElapsedTime().asMilliseconds() >= firerate) {
|
||||||
Bullet leftBullet(position.x - 20, position.y, bulletTexture);
|
Bullet leftBullet(position.x - 20, position.y, bulletTexture);
|
||||||
|
|||||||
Reference in New Issue
Block a user