adrigm
4/25/2013 - 1:02 PM

Ball.hpp

#ifndef BALL_HPP
#define BALL_HPP

#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>

class Ball : public sf::Sprite
{
public:
    Ball();

	void update(sf::Time& delta);

	float getSpeedX() const;

private:
	sf::Texture texture_ball;
	sf::Vector2f speed;
	sf::SoundBuffer buffer;
	sf::Sound sound;
}; // class Ball

#endif // BALL_HPP