/**
* initiate the componnents
*/ privatevoid initComponnents() {
gameIsOn =true;
x =50;
y =50;
a =0; }
/**
* Refresh the componnents
* @param time time of the previous frame
*/ privatevoid refresh(long time ) { // MAKE THE PERSO MOVE
x += time /3.0; if( x >600) {
x =0;
y += time; } if( y >500)
y =50;
// ANIMATE THE PERSO
a += time; if( a >=2000)
a =0; }