public void Update(Status newStatus) { statusStack.Push(newStatus); Display(); }
public User() { observerList = new List<IObserver>(); newStatus = new Status(); }
public void Update(Status newStatus) { statusStack.Push(newStatus); Display(); }
public User() { observerList = new List<IObserver>(); newStatus = new Status(); }