You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
330 B
17 lines
330 B
package mock.model.commandFactory;
|
|
|
|
import mock.model.MockBoat;
|
|
import mock.model.MockRace;
|
|
|
|
import java.util.Observer;
|
|
|
|
/**
|
|
* Allows RaceLogic to control MockRace state according to the Command pattern
|
|
*/
|
|
public interface Command {
|
|
/**
|
|
* Execute command - standard method name in pattern
|
|
*/
|
|
void execute();
|
|
}
|