@Override
    protected void paintComponent(Graphics arg0) {
	if (plantType == GREEN_PLANT) {
	    arg0.setColor(Color.GREEN);
	} else if (plantType == RED_PLANT) {
	    arg0.setColor(Color.RED);
	} else if (plantType == YELLOW_PLANT) {
	    arg0.setColor(Color.YELLOW);
	} else if (plantType == MAGENTA_PLANT) {
	    arg0.setColor(Color.MAGENTA);
	}
	if (p != null) {
	    arg0.fillRect(p.x, p.y, width, height);
	}
    }