public void AddNewFoodToRespawn(Food.TYPE type) { if (!m_respawnFood) { return; } FoodRespawnData data = new FoodRespawnData(); data.type = type; data.turns = m_turnsToRespawn; m_foodsToRespawn.Add(data); }
public Sprite GetFoodSprite(Food.TYPE type) { return(m_mapAtlas.GetSprite(Constantes.FOODS[type])); }