public SlotBoard(int xSize, int ySize, int xPos, int yPos, boolean covered) {
		if (xSize <= 0) {
			xSize = 1;
			System.out.println("Too small width, setting to 1");
		}
		if (ySize <= 0) {
			ySize = 1;
			System.out.println("Too small height, setting to 1");
		}
		
		this.xSize = xSize;
		this.ySize = ySize;
		
		this.setBounds(xPos, yPos, xSize*ColourSlot.WIDTH, ySize*ColourSlot.HEIGHT);
		
		slots = new ColourSlot[xSize][ySize];
		
		for (int i = 0; i < xSize; i++) {
			for (int j = 0; j < ySize; j++) {
				slots[i][j] = new ColourSlot(i*ColourSlot.WIDTH, j*ColourSlot.HEIGHT, ColourCode.EMPTY, covered ? i != 0 : false, false);
			}
		}
	}