import java.awt.geom.Rectangle2D;
import java.util.prefs.Preferences;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Clip;
import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.UnsupportedAudioFileException;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.Timer;
import java.util.Random;
/**
* Write a description of class Player here.
* Class yang berisikan Paddle/ papan untuk memantulkan bola
* @author Fitrah Arie Ramadhan dan Ivan Muhammad Nizar
* @version Final Version, 8 Januari 2021
*/
public class Player
{
public double x, y; // 2d coordinates of the player for position
public double width, height; // width and height of the player
public Player(double x, double y, double width, double height)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
}