forked from External/mage
implement [MH3] Nethergoyf, refactor targets usages by game param (#12267)
This commit is contained in:
parent
88b6f4036f
commit
754b382e78
62 changed files with 592 additions and 285 deletions
|
|
@ -19,9 +19,9 @@ import java.util.UUID;
|
|||
*/
|
||||
public interface Target extends Serializable {
|
||||
|
||||
boolean isChosen();
|
||||
boolean isChosen(Game game);
|
||||
|
||||
boolean doneChoosing();
|
||||
boolean doneChoosing(Game game);
|
||||
|
||||
void clearChosen();
|
||||
|
||||
|
|
@ -98,7 +98,10 @@ public interface Target extends Serializable {
|
|||
*/
|
||||
String getDescription();
|
||||
|
||||
String getMessage();
|
||||
/**
|
||||
* @return message displayed on choosing targets (can be dynamically changed on more target selected)
|
||||
*/
|
||||
String getMessage(Game game);
|
||||
|
||||
/**
|
||||
* @return single target name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue