Class ConstructionCommand
java.lang.Object
com.deco2800.game.ui.terminal.commands.ConstructionCommand
- All Implemented Interfaces:
Command
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Action a command.boolean
construct
(BuildingType type) Takes a BuildingType and produces a corresponding input component and highlightboolean
-
Constructor Details
-
ConstructionCommand
public ConstructionCommand()
-
-
Method Details
-
action
Description copied from interface:Command
Action a command. -
construct
Takes a BuildingType and produces a corresponding input component and highlight- Parameters:
type
- which building type we want to build- Returns:
- whether or not the input component was successfully created
-
isFinished
public boolean isFinished()
-