forked from External/mage
Fixed Phase stops (skipped possibility to response to spells and abilities if phase was off)
This commit is contained in:
parent
b9eba43ccf
commit
9b72097827
3 changed files with 26 additions and 0 deletions
21
Mage.Client/src/main/java/mage/client/util/GameManager.java
Normal file
21
Mage.Client/src/main/java/mage/client/util/GameManager.java
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
package mage.client.util;
|
||||
|
||||
/**
|
||||
* Controls game state on client side.
|
||||
*
|
||||
* @author nantuko
|
||||
*/
|
||||
public class GameManager {
|
||||
private static GameManager fInstance = new GameManager();
|
||||
public static GameManager getInstance() {
|
||||
return fInstance;
|
||||
}
|
||||
public void setStackSize(int stackSize) {
|
||||
this.stackSize = stackSize;
|
||||
}
|
||||
public int getStackSize() {
|
||||
return stackSize;
|
||||
}
|
||||
|
||||
private int stackSize;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue