public void paintComponent(Graphics g) {
		int foodCount = 0;
		
		for(int x = 0; x < rows; x++) {
			for(int y = 0; y < cols; y++) {
				Tile t = map[x][y];
				if(t.getType() == Tile.TileType.TILE_WATER) {
					g.setColor(new Color(25, 25, 185));
					
				} else if (t.getType() == Tile.TileType.TILE_GROUND) {
					byte food = t.getFood();
					g.setColor(new Color(30, 200+(food*10), 30));
					foodCount += food;
				}
				
				g.fillRect(x*tSize,
						y*tSize,
						tSize,
						tSize);
					
					
			}
		}
		
		InfoPanel.setFoodNumber(foodCount);
		
	}