Here is the constructor
And my argument list
I dont understand how this is wrong. I do have an inkling it might have to do with the b2World* world, however.
Bullet(sf::Vector2f& startPos, float angle, float speed, float lifeTime, std::string fileName, b2World& world)
And my argument list
//How each variable is defined sf::Sprite sprite; // returns a const Vector2f & float desired Angle = ...; b2World* world = ...; Bullet* newBullet = new Bullet(sprite.getPosition(), desiredAngle, 3.0f, 1.0f, "bullet.png", world);
I dont understand how this is wrong. I do have an inkling it might have to do with the b2World* world, however.