#ifndef BALL_H
#define BALL_H

class Ball {
public:
 //constructor
 Ball();

 //bounce functions
 void bouncePaddle(int y);
 void bounceWall();

 //go back to the center
 void reset();

 //standard element stuff
 void draw();
 void erase();
 void update();

 //report position
 int getX();
 int getY();

private:
 double  x, y;   //position of the ball
 double dx, dy;  //speed vector

 /*
  (x,y)
      ##
      ##
  */
};

#endif