mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Server: removed unnecessary logs, extra comments
This commit is contained in:
parent
848c5b6052
commit
3abe5e796a
5 changed files with 12 additions and 6 deletions
|
|
@ -55,6 +55,15 @@ public class Deck implements Serializable {
|
|||
return currentDeck;
|
||||
}
|
||||
|
||||
/**
|
||||
* Warning, AI can't play Mock cards, so call it with extra params in real games or tests
|
||||
*
|
||||
* @param deckCardLists cards to load
|
||||
* @param ignoreErrors - do not raise exception error on wrong deck
|
||||
* @param mockCards - use it for GUI only code, real game cards must be real
|
||||
* @return
|
||||
* @throws GameException
|
||||
*/
|
||||
public static Deck load(DeckCardLists deckCardLists, boolean ignoreErrors, boolean mockCards) throws GameException {
|
||||
Deck deck = new Deck();
|
||||
deck.setName(deckCardLists.getName());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue