Made setDeckType public for DeckEditor to persist the deckType.

This commit is contained in:
Rob Cashwalker
2011-11-16 01:18:45 +00:00
parent 6b65f93418
commit 449cd03c33

View File

@@ -106,7 +106,7 @@ public final class Deck implements Comparable<Deck>, Serializable {
* @param deckType
* a {@link java.lang.String} object.
*/
void setDeckType(final GameType deckType) {
public void setDeckType(final GameType deckType) {
if (this.getDeckType() != null) {
throw new IllegalStateException("Deck : setDeckType() error, deck type has already been set");
}