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