@Override
	protected void paintComponent(Graphics g) {
		super.paintComponent(g);
		
		Graphics2D g2 = (Graphics2D) g;
		g2.setColor(Color.WHITE);
		Rectangle2D.Double background = new Rectangle2D.Double(0, 0, Main.WINDOW_SIZE.width, Main.WINDOW_SIZE.height);
		g2.fill(background);
		g2.draw(background);
		
		for (int i = 0; i < 10; i++) {
			for (int j = 0; j < 10; j++) {
				this.tileList[i][j].draw(g2);
				if(this.unitList[i][j] != null) {
					try {
						this.unitList[i][j].draw(g2, this.unitList[i][j].getUnitName());
					} catch (IOException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
				}
			}
		}
	}