I'm making the GUI for flipping puzzle :)
[puzzles.git] / src / com / github / puzzles / gui / AbstractPuzzlePanel.java
blob50ec8c456fe01b05312f224784d309cd74f55b7f
1 package com.github.puzzles.gui;
3 import javax.swing.JPanel;
5 abstract public class AbstractPuzzlePanel extends JPanel {
7 /**
8 *
9 */
10 private static final long serialVersionUID = 5714650403244806247L;
12 final private int xIndex;
13 final private int yIndex;
15 /**
16 * Create the panel.
18 public AbstractPuzzlePanel(int xIndex, int yIndex) {
19 this.xIndex = xIndex;
20 this.yIndex = yIndex;
23 public int getxIndex() {
24 return xIndex;
27 public int getyIndex() {
28 return yIndex;