aboutsummaryrefslogtreecommitdiff
path: root/src/esieequest/controller/commands/InventoryCommand.java
blob: ff7a3412a56c79c074f6d78d35272f14aaabacf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package esieequest.controller.commands;

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

/**
 * Prints the list of the items in the Player's inventory.
 * 
 * @author Pacien TRAN-GIRARD
 */
public class InventoryCommand implements Executable {

	@Override
	public void execute(final String argument, final Game game, final Viewable view) {

		view.echo(game.getPlayer().listItemsNamesString());

	}

}