forked from External/mage
Fixed potential NPE errors in getPhase usage (fixed Berserker's Frenzy, etc)
This commit is contained in:
parent
cfd7464b49
commit
a15a0daa04
81 changed files with 162 additions and 130 deletions
|
|
@ -180,6 +180,19 @@ public interface Game extends MageItem, Serializable, Copyable<Game> {
|
|||
|
||||
Turn getTurn();
|
||||
|
||||
/**
|
||||
* @return can return null in non started games
|
||||
*/
|
||||
PhaseStep getTurnStepType();
|
||||
|
||||
/**
|
||||
* @return can return null in non started games
|
||||
*/
|
||||
TurnPhase getTurnPhaseType();
|
||||
|
||||
/**
|
||||
* @return can return null in non started games
|
||||
*/
|
||||
Phase getPhase();
|
||||
|
||||
Step getStep();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue