/**
 * Copyright (C) 2022 by Martin Robillard. See https://codesample.info/about.html
 */
package e2.chapter8;

/**
 * An object that observes a CardStack. Design with push data flow.
 */
public interface CardStackObserver {
default void pushed(Card pCard) {} default void popped(Card pCard) {} default void cleared() {}
}