forked from External/mage
Fixed miss copy code in Game object (lki, cards), removed unused code. Possible fixes:
* simulated games was able to change objects from another games (ConcurrentModificationException, related tod202278ccd, details in3a6cdd2615); * AI: fixed cards disappear in multiplayer games with computer (details in #6738);
This commit is contained in:
parent
9f882824a0
commit
1664ee01cf
39 changed files with 201 additions and 125 deletions
|
|
@ -51,7 +51,7 @@ public interface Game extends MageItem, Serializable, Copyable<Game> {
|
|||
|
||||
int getNumPlayers();
|
||||
|
||||
int getLife();
|
||||
int getStartingLife();
|
||||
|
||||
RangeOfInfluence getRangeOfInfluence();
|
||||
|
||||
|
|
@ -244,10 +244,6 @@ public interface Game extends MageItem, Serializable, Copyable<Game> {
|
|||
|
||||
Player getLosingPlayer();
|
||||
|
||||
void setStateCheckRequired();
|
||||
|
||||
boolean getStateCheckRequired();
|
||||
|
||||
//client event methods
|
||||
void addTableEventListener(Listener<TableEvent> listener);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue