@Override
	public void render(Graphics g) {
		if (hasPlants) {
			g.drawImage(game.getRes().plants[getPlantGrowth()], getX(), getY(), game);
		} else if (!hasPlants) {
			g.drawImage(game.getRes().tiles[getTileID()], getX(), getY(), game);
		}

		if (game.showGrid) { // If the player wants to draw grids
			g.setColor(Color.WHITE); // White color
			g.drawRect(getX(), getY(), getTileSize() - 1, getTileSize() - 1); // Draw a border around tile
		}

		if (isContainsMouse() && isCanAffect()) { // If it is allowed to show borders
			g.setColor(Color.BLACK); // Black color
			g.drawRect(getX(), getY(), getTileSize() - 1, getTileSize() - 1); // Draw a border around image
		}

	}