private bool DeleteAnim(Animal anm) { if (anm != null) { if (!Animals.Delete(anm)) { System.Console.WriteLine("Не найден anim в массиве"); return(false); } if (!MyMap.DeleteAnim(anm)) { System.Console.WriteLine("Не найден Anim в карте"); return(false); } MyUI.DelActor(anm); anm.Dispose(); } return(true); }