public void add(IntefaceMemento m) { pointList.Add(m); }
public IntefaceMemento redo(int index) { IntefaceMemento restorePoints = pointList.ElementAt(index); pointList.RemoveAt(index); return restorePoints; }
public void restorePoints(IntefaceMemento memento) { memento.getPoints(this); }