refactor OutputSystem
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package chess.controller;
|
||||
|
||||
import chess.controller.event.GameListener;
|
||||
import chess.model.Game;
|
||||
|
||||
public abstract class Command {
|
||||
@@ -15,7 +16,7 @@ public abstract class Command {
|
||||
NotAllowed;
|
||||
}
|
||||
|
||||
public abstract CommandResult execute(Game game, OutputSystem outputSystem);
|
||||
public abstract CommandResult execute(Game game, GameListener outputSystem);
|
||||
|
||||
public void postExec(Game game, OutputSystem outputSystem) {}
|
||||
public void postExec(Game game, GameListener outputSystem) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user