public Mementoo get(int index) { Mementoo restoreState = list.ElementAt(index); list.RemoveAt(index); return(restoreState); }
public void add(Mementoo state) { list.Add(state); }
public void getStateFromMemento(Mementoo mememto) { characters = mememto.GetCharacter(); enemies = mememto.getEnemies(); }