#ifndef __BOUNCER_H
#define __BOUNCER_H

#include <windows.h>
#include <GL/glu.h>
#include <GL/gl.h>

class Bouncer
{
protected:
	GLfloat startTime;
	GLfloat lastTime;
	
	GLfloat height;
	GLfloat falltime;

	bool direction;

public:
	GLfloat xv, zv;
	GLfloat sX, sY, sZ;
	GLfloat currentY,
			currentX,
			currentZ ;

	Bouncer (GLfloat bounceHeight, GLfloat XV, GLfloat ZV);
	void setHeight (GLfloat bounceHeight);
	void start ();
	void move ();
};

#endif