@Override
	public void update(int delta) {
		cube.move(SPEED*direction*delta,0, 0);
		pos.add(SPEED*direction*delta,0, 0);
		
		if(pos.x > 100){
			pos.x = 100;
			direction *= -1;
		}
		if(pos.x < -100){
			pos.x = -100;
			direction *= -1;
		}
	}