Beispiel #1
0
        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);
        }
Beispiel #2
0
 public Sprite GetFoodSprite(Food.TYPE type)
 {
     return(m_mapAtlas.GetSprite(Constantes.FOODS[type]));
 }