Restrukt classes WIP

This commit is contained in:
2024-11-26 16:05:57 +01:00
parent 6996490f3c
commit 559d946cab
6 changed files with 19 additions and 13 deletions

View File

@@ -25,7 +25,7 @@ Position Actor::getPosition() {
}
void Actor::shoot() {
bullets.emplace_back(float(position.x) + actorSprite.getGlobalBounds().width / 2, position.y, bulletTextureLeft);
// bullets.emplace_back(float(position.x) + actorSprite.getGlobalBounds().width / 2, position.y, bulletTextureLeft);
}
std::vector<Bullet> &Actor::getBullets() {