aboutsummaryrefslogtreecommitdiff
path: root/src/esieequest/controller/commands/Executable.java
blob: 156fc1c9bdd23d84305167f934219a8f200752a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package esieequest.controller.commands;

import esieequest.model.Game;
import esieequest.view.Viewable;

/**
 * The Executable interface.
 * 
 * @author Pacien TRAN-GIRARD
 */
public interface Executable {

	/**
	 * Performs the task corresponding to the Command.
	 * 
	 * @param argument
	 *            the argument to pass to the Command
	 * @param game
	 *            the Game model
	 * @param view
	 *            the View
	 */
	public void execute(final String argument, final Game game, final Viewable view);

}