mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Added updated information to some javadoc comments.
This commit is contained in:
@@ -84,6 +84,13 @@ public class LimitedDeckBuilder extends DeckGeneratorBase{
|
|||||||
return buildDeck().getMain();
|
return buildDeck().getMain();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* buildDeck.
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @return the new Deck.
|
||||||
|
*/
|
||||||
public Deck buildDeck() {
|
public Deck buildDeck() {
|
||||||
return buildDeck(null);
|
return buildDeck(null);
|
||||||
}
|
}
|
||||||
@@ -93,6 +100,8 @@ public class LimitedDeckBuilder extends DeckGeneratorBase{
|
|||||||
* buildDeck.
|
* buildDeck.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
|
* @param landSetCode
|
||||||
|
* the set to take basic lands from (pass 'null' for random).
|
||||||
* @return the new Deck.
|
* @return the new Deck.
|
||||||
*/
|
*/
|
||||||
public Deck buildDeck(String landSetCode) {
|
public Deck buildDeck(String landSetCode) {
|
||||||
@@ -221,6 +230,8 @@ public class LimitedDeckBuilder extends DeckGeneratorBase{
|
|||||||
*
|
*
|
||||||
* @param clrCnts
|
* @param clrCnts
|
||||||
* color counts needed
|
* color counts needed
|
||||||
|
* @param landSetCode
|
||||||
|
* the set to take basic lands from (pass 'null' for random).
|
||||||
*/
|
*/
|
||||||
private void fixDeckSize(final int[] clrCnts, String landSetCode) {
|
private void fixDeckSize(final int[] clrCnts, String landSetCode) {
|
||||||
while (deckList.size() > 40) {
|
while (deckList.size() > 40) {
|
||||||
@@ -277,6 +288,8 @@ public class LimitedDeckBuilder extends DeckGeneratorBase{
|
|||||||
* Add lands to fulfill the given color counts.
|
* Add lands to fulfill the given color counts.
|
||||||
*
|
*
|
||||||
* @param clrCnts
|
* @param clrCnts
|
||||||
|
* @param landSetCode
|
||||||
|
* the set to take basic lands from (pass 'null' for random).
|
||||||
*/
|
*/
|
||||||
private void addLands(final int[] clrCnts, String landSetCode) {
|
private void addLands(final int[] clrCnts, String landSetCode) {
|
||||||
// basic lands that are available in the deck
|
// basic lands that are available in the deck
|
||||||
@@ -325,6 +338,8 @@ public class LimitedDeckBuilder extends DeckGeneratorBase{
|
|||||||
* Get basic land.
|
* Get basic land.
|
||||||
*
|
*
|
||||||
* @param basicLand
|
* @param basicLand
|
||||||
|
* @param landSetCode
|
||||||
|
* the set to take basic lands from (pass 'null' for random).
|
||||||
* @return card
|
* @return card
|
||||||
*/
|
*/
|
||||||
private PaperCard getBasicLand(int basicLand, String landSetCode) {
|
private PaperCard getBasicLand(int basicLand, String landSetCode) {
|
||||||
|
|||||||
Reference in New Issue
Block a user