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

public class AbstractCardSourceVisitor implements CardSourceVisitor
{
	@Override
	public void visitCompositeCardSource(CompositeCardSource pCompositeCardSource) {
		for( CardSource source : pCompositeCardSource ) {
			source.accept(this);
		}
	}

	@Override
	public void visitDeck(Deck pDeck)
	{}

	@Override
	public void visitCardSequence(CardSequence pCardSequence)
	{}
}