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

import java.util.Optional;

/**
 * Represents an abstract command in the Command design pattern.
 */
public interface Command
{
	Optional<Card> execute();
	
	void undo();
}