public void tick(GameMaster game) {
		// update the collision box to move wit the AI
		collisionBox.setBounds(x, y, width, height);
		
		// if the Game is not with two players
		// The following if move the AI to look for the ball
		if(!twoPlayer) {
			if(GameMaster.ball.y < y && y >= 0) {
				y -= speed;
			}

			if(GameMaster.ball.y > y && y + height <= game.getHeight()) {
				y += speed;
			}
		}
		// If the game is with two players
		else {
			if(moveUp == true  && y > 0) {
				y -= speed;
			}
			else if (moveDown == true && y + height <= game.getHeight()) {
				y += speed;
			}
		}
	}