// All entryes should use this functiono private void add_entry(Entry e) { this.entries.Add(e); switch (e.get_situation()) { case Entry.Situations.DESTROYED: lastDestoryed = get_last_entry_index(); break; case Entry.Situations.EXPLODE: lastExployed = get_last_entry_index(); break; } }