migrant a SDL3
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
class Texture; // lines 5-5
|
||||
|
||||
// Constructor
|
||||
Bullet::Bullet(int x, int y, BulletType bullet_type, bool powered_up, int owner, std::shared_ptr<Texture> texture)
|
||||
Bullet::Bullet(float x, float y, BulletType bullet_type, bool powered_up, int owner, std::shared_ptr<Texture> texture)
|
||||
: sprite_(std::make_unique<Sprite>(texture, SDL_FRect{x, y, BULLET_WIDTH_, BULLET_HEIGHT_})),
|
||||
pos_x_(x),
|
||||
pos_y_(y),
|
||||
|
||||
Reference in New Issue
Block a user