mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Updates the project for Java 8.
Maps.newHashMap() was replaced with null in numerous locations. A null check is performed in the locations that read this value. This prevents unnecessary allocation of memory and fixes compiler errors. "final" keyword added to RepeatEachEffect, which used local variables in non-local scope.
This commit is contained in:
@@ -2,8 +2,9 @@
|
|||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
||||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
|
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
|
<classpathentry combineaccessrules="false" kind="src" path="/forge-core"/>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
||||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
|
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
||||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
|
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
|
<classpathentry kind="src" path="/forge-core"/>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Card changeZone(final Zone zoneFrom, Zone zoneTo, final Card c, Integer position, SpellAbility cause) {
|
public Card changeZone(final Zone zoneFrom, Zone zoneTo, final Card c, Integer position, SpellAbility cause) {
|
||||||
return changeZone(zoneFrom, zoneTo, c, position, cause, Maps.newHashMap());
|
return changeZone(zoneFrom, zoneTo, c, position, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Card changeZone(final Zone zoneFrom, Zone zoneTo, final Card c, Integer position, SpellAbility cause, Map<String, Object> params) {
|
public Card changeZone(final Zone zoneFrom, Zone zoneTo, final Card c, Integer position, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -288,7 +288,9 @@ public class GameAction {
|
|||||||
repParams.put("Origin", zoneFrom != null ? zoneFrom.getZoneType() : null);
|
repParams.put("Origin", zoneFrom != null ? zoneFrom.getZoneType() : null);
|
||||||
repParams.put("Destination", zoneTo.getZoneType());
|
repParams.put("Destination", zoneTo.getZoneType());
|
||||||
|
|
||||||
|
if (params != null) {
|
||||||
repParams.putAll(params);
|
repParams.putAll(params);
|
||||||
|
}
|
||||||
|
|
||||||
ReplacementResult repres = game.getReplacementHandler().run(repParams);
|
ReplacementResult repres = game.getReplacementHandler().run(repParams);
|
||||||
if (repres != ReplacementResult.NotReplaced) {
|
if (repres != ReplacementResult.NotReplaced) {
|
||||||
@@ -387,13 +389,19 @@ public class GameAction {
|
|||||||
runParams.put("Destination", zoneTo.getZoneType().name());
|
runParams.put("Destination", zoneTo.getZoneType().name());
|
||||||
runParams.put("SpellAbilityStackInstance", game.stack.peek());
|
runParams.put("SpellAbilityStackInstance", game.stack.peek());
|
||||||
runParams.put("IndividualCostPaymentInstance", game.costPaymentStack.peek());
|
runParams.put("IndividualCostPaymentInstance", game.costPaymentStack.peek());
|
||||||
|
|
||||||
|
if (params != null) {
|
||||||
runParams.putAll(params);
|
runParams.putAll(params);
|
||||||
|
}
|
||||||
|
|
||||||
game.getTriggerHandler().runTrigger(TriggerType.ChangesZone, runParams, true);
|
game.getTriggerHandler().runTrigger(TriggerType.ChangesZone, runParams, true);
|
||||||
if (zoneFrom != null && zoneFrom.is(ZoneType.Battlefield)) {
|
if (zoneFrom != null && zoneFrom.is(ZoneType.Battlefield)) {
|
||||||
final Map<String, Object> runParams2 = Maps.newHashMap();
|
final Map<String, Object> runParams2 = Maps.newHashMap();
|
||||||
runParams2.put("Card", lastKnownInfo);
|
runParams2.put("Card", lastKnownInfo);
|
||||||
runParams2.put("OriginalController", zoneFrom.getPlayer());
|
runParams2.put("OriginalController", zoneFrom.getPlayer());
|
||||||
|
if(params != null) {
|
||||||
runParams2.putAll(params);
|
runParams2.putAll(params);
|
||||||
|
}
|
||||||
game.getTriggerHandler().runTrigger(TriggerType.ChangesController, runParams2, false);
|
game.getTriggerHandler().runTrigger(TriggerType.ChangesController, runParams2, false);
|
||||||
}
|
}
|
||||||
// AllZone.getStack().chooseOrderOfSimultaneousStackEntryAll();
|
// AllZone.getStack().chooseOrderOfSimultaneousStackEntryAll();
|
||||||
@@ -535,7 +543,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveTo(final Zone zoneTo, Card c, SpellAbility cause) {
|
public final Card moveTo(final Zone zoneTo, Card c, SpellAbility cause) {
|
||||||
return moveTo(zoneTo, c, cause, Maps.newHashMap());
|
return moveTo(zoneTo, c, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveTo(final Zone zoneTo, Card c, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveTo(final Zone zoneTo, Card c, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -545,7 +553,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveTo(final Zone zoneTo, Card c, Integer position, SpellAbility cause) {
|
public final Card moveTo(final Zone zoneTo, Card c, Integer position, SpellAbility cause) {
|
||||||
return moveTo(zoneTo, c, position, cause, Maps.newHashMap());
|
return moveTo(zoneTo, c, position, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveTo(final Zone zoneTo, Card c, Integer position, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveTo(final Zone zoneTo, Card c, Integer position, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -621,7 +629,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToStack(final Card c, SpellAbility cause) {
|
public final Card moveToStack(final Card c, SpellAbility cause) {
|
||||||
return moveToStack(c, cause, Maps.newHashMap());
|
return moveToStack(c, cause, null);
|
||||||
}
|
}
|
||||||
public final Card moveToStack(final Card c, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveToStack(final Card c, SpellAbility cause, Map<String, Object> params) {
|
||||||
final Zone stack = game.getStackZone();
|
final Zone stack = game.getStackZone();
|
||||||
@@ -629,7 +637,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToGraveyard(final Card c, SpellAbility cause) {
|
public final Card moveToGraveyard(final Card c, SpellAbility cause) {
|
||||||
return moveToGraveyard(c, cause, Maps.newHashMap());
|
return moveToGraveyard(c, cause, null);
|
||||||
}
|
}
|
||||||
public final Card moveToGraveyard(final Card c, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveToGraveyard(final Card c, SpellAbility cause, Map<String, Object> params) {
|
||||||
final PlayerZone grave = c.getOwner().getZone(ZoneType.Graveyard);
|
final PlayerZone grave = c.getOwner().getZone(ZoneType.Graveyard);
|
||||||
@@ -638,7 +646,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToHand(final Card c, SpellAbility cause) {
|
public final Card moveToHand(final Card c, SpellAbility cause) {
|
||||||
return moveToHand(c, cause, Maps.newHashMap());
|
return moveToHand(c, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToHand(final Card c, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveToHand(final Card c, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -647,7 +655,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToPlay(final Card c, SpellAbility cause) {
|
public final Card moveToPlay(final Card c, SpellAbility cause) {
|
||||||
return moveToPlay(c, cause, Maps.newHashMap());
|
return moveToPlay(c, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToPlay(final Card c, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveToPlay(final Card c, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -656,7 +664,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToPlay(final Card c, final Player p, SpellAbility cause) {
|
public final Card moveToPlay(final Card c, final Player p, SpellAbility cause) {
|
||||||
return moveToPlay(c, p, cause, Maps.newHashMap());
|
return moveToPlay(c, p, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToPlay(final Card c, final Player p, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveToPlay(final Card c, final Player p, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -666,7 +674,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToBottomOfLibrary(final Card c, SpellAbility cause) {
|
public final Card moveToBottomOfLibrary(final Card c, SpellAbility cause) {
|
||||||
return moveToBottomOfLibrary(c, cause, Maps.newHashMap());
|
return moveToBottomOfLibrary(c, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToBottomOfLibrary(final Card c, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveToBottomOfLibrary(final Card c, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -674,7 +682,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToLibrary(final Card c, SpellAbility cause) {
|
public final Card moveToLibrary(final Card c, SpellAbility cause) {
|
||||||
return moveToLibrary(c, cause, Maps.newHashMap());
|
return moveToLibrary(c, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToLibrary(final Card c, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveToLibrary(final Card c, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -682,7 +690,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToLibrary(Card c, int libPosition, SpellAbility cause) {
|
public final Card moveToLibrary(Card c, int libPosition, SpellAbility cause) {
|
||||||
return moveToLibrary(c, libPosition, cause, Maps.newHashMap());
|
return moveToLibrary(c, libPosition, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToLibrary(Card c, int libPosition, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveToLibrary(Card c, int libPosition, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -694,7 +702,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToVariantDeck(Card c, ZoneType zone, int deckPosition, SpellAbility cause) {
|
public final Card moveToVariantDeck(Card c, ZoneType zone, int deckPosition, SpellAbility cause) {
|
||||||
return moveToVariantDeck(c, zone, deckPosition, cause, Maps.newHashMap());
|
return moveToVariantDeck(c, zone, deckPosition, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveToVariantDeck(Card c, ZoneType zone, int deckPosition, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveToVariantDeck(Card c, ZoneType zone, int deckPosition, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -706,7 +714,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card exile(final Card c, SpellAbility cause) {
|
public final Card exile(final Card c, SpellAbility cause) {
|
||||||
return exile(c, cause, Maps.newHashMap());
|
return exile(c, cause, null);
|
||||||
}
|
}
|
||||||
public final Card exile(final Card c, SpellAbility cause, Map<String, Object> params) {
|
public final Card exile(final Card c, SpellAbility cause, Map<String, Object> params) {
|
||||||
if (game.isCardExiled(c)) {
|
if (game.isCardExiled(c)) {
|
||||||
@@ -717,7 +725,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveTo(final ZoneType name, final Card c, SpellAbility cause) {
|
public final Card moveTo(final ZoneType name, final Card c, SpellAbility cause) {
|
||||||
return moveTo(name, c, cause, Maps.newHashMap());
|
return moveTo(name, c, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveTo(final ZoneType name, final Card c, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveTo(final ZoneType name, final Card c, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -725,7 +733,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveTo(final ZoneType name, final Card c, final int libPosition, SpellAbility cause) {
|
public final Card moveTo(final ZoneType name, final Card c, final int libPosition, SpellAbility cause) {
|
||||||
return moveTo(name, c, libPosition, cause, Maps.newHashMap());
|
return moveTo(name, c, libPosition, cause, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Card moveTo(final ZoneType name, final Card c, final int libPosition, SpellAbility cause, Map<String, Object> params) {
|
public final Card moveTo(final ZoneType name, final Card c, final int libPosition, SpellAbility cause, Map<String, Object> params) {
|
||||||
@@ -1095,7 +1103,7 @@ public class GameAction {
|
|||||||
|
|
||||||
if (!perm.isInZone(tgtZone) || !perm.canBeEnchantedBy(c, true) || (perm.isPhasedOut() && !c.isPhasedOut())) {
|
if (!perm.isInZone(tgtZone) || !perm.canBeEnchantedBy(c, true) || (perm.isPhasedOut() && !c.isPhasedOut())) {
|
||||||
c.unEnchantEntity(perm);
|
c.unEnchantEntity(perm);
|
||||||
moveToGraveyard(c, null, Maps.newHashMap());
|
moveToGraveyard(c, null, null);
|
||||||
checkAgain = true;
|
checkAgain = true;
|
||||||
}
|
}
|
||||||
} else if (entity instanceof Player) {
|
} else if (entity instanceof Player) {
|
||||||
@@ -1113,13 +1121,13 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
if (invalid) {
|
if (invalid) {
|
||||||
c.unEnchantEntity(pl);
|
c.unEnchantEntity(pl);
|
||||||
moveToGraveyard(c, null, Maps.newHashMap());
|
moveToGraveyard(c, null, null);
|
||||||
checkAgain = true;
|
checkAgain = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c.isInPlay() && !c.isEnchanting()) {
|
if (c.isInPlay() && !c.isEnchanting()) {
|
||||||
moveToGraveyard(c, null, Maps.newHashMap());
|
moveToGraveyard(c, null, null);
|
||||||
checkAgain = true;
|
checkAgain = true;
|
||||||
}
|
}
|
||||||
return checkAgain;
|
return checkAgain;
|
||||||
@@ -1310,7 +1318,7 @@ public class GameAction {
|
|||||||
|
|
||||||
for (Card c : list) {
|
for (Card c : list) {
|
||||||
if (c.getCounters(CounterType.LOYALTY) <= 0) {
|
if (c.getCounters(CounterType.LOYALTY) <= 0) {
|
||||||
moveToGraveyard(c, null, Maps.newHashMap());
|
moveToGraveyard(c, null, null);
|
||||||
// Play the Destroy sound
|
// Play the Destroy sound
|
||||||
game.fireEvent(new GameEventCardDestroyed());
|
game.fireEvent(new GameEventCardDestroyed());
|
||||||
recheck = true;
|
recheck = true;
|
||||||
@@ -1517,7 +1525,7 @@ public class GameAction {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
final Card newCard = moveToGraveyard(c, cause, Maps.newHashMap());
|
final Card newCard = moveToGraveyard(c, cause, null);
|
||||||
|
|
||||||
return newCard;
|
return newCard;
|
||||||
}
|
}
|
||||||
@@ -1739,7 +1747,7 @@ public class GameAction {
|
|||||||
if (!isCommander) {
|
if (!isCommander) {
|
||||||
toMulligan = new CardCollection(p.getCardsIn(ZoneType.Hand));
|
toMulligan = new CardCollection(p.getCardsIn(ZoneType.Hand));
|
||||||
for (final Card c : toMulligan) {
|
for (final Card c : toMulligan) {
|
||||||
moveToLibrary(c, null, Maps.newHashMap());
|
moveToLibrary(c, null, null);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
Thread.sleep(100); //delay for a tiny bit to give UI a chance catch up
|
Thread.sleep(100); //delay for a tiny bit to give UI a chance catch up
|
||||||
@@ -1751,7 +1759,7 @@ public class GameAction {
|
|||||||
} else {
|
} else {
|
||||||
List<Card> toExile = Lists.newArrayList(toMulligan);
|
List<Card> toExile = Lists.newArrayList(toMulligan);
|
||||||
for (Card c : toExile) {
|
for (Card c : toExile) {
|
||||||
exile(c, null, Maps.newHashMap());
|
exile(c, null, null);
|
||||||
}
|
}
|
||||||
exiledDuringMulligans.addAll(p, toExile);
|
exiledDuringMulligans.addAll(p, toExile);
|
||||||
try {
|
try {
|
||||||
@@ -1777,7 +1785,7 @@ public class GameAction {
|
|||||||
Player p = kv.getKey();
|
Player p = kv.getKey();
|
||||||
Collection<Card> cc = kv.getValue();
|
Collection<Card> cc = kv.getValue();
|
||||||
for (Card c : cc) {
|
for (Card c : cc) {
|
||||||
moveToLibrary(c, null, Maps.newHashMap());
|
moveToLibrary(c, null, null);
|
||||||
}
|
}
|
||||||
p.shuffle(null);
|
p.shuffle(null);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ public class GameFormat implements Comparable<GameFormat> {
|
|||||||
allowedSetCodes = sets == null ? new ArrayList<String>() : Lists.newArrayList(sets);
|
allowedSetCodes = sets == null ? new ArrayList<String>() : Lists.newArrayList(sets);
|
||||||
bannedCardNames = bannedCards == null ? new ArrayList<String>() : Lists.newArrayList(bannedCards);
|
bannedCardNames = bannedCards == null ? new ArrayList<String>() : Lists.newArrayList(bannedCards);
|
||||||
restrictedCardNames = restrictedCards == null ? new ArrayList<String>() : Lists.newArrayList(restrictedCards);
|
restrictedCardNames = restrictedCards == null ? new ArrayList<String>() : Lists.newArrayList(restrictedCards);
|
||||||
allowedRarities = rarities == null ? Lists.newArrayList() : rarities;
|
allowedRarities = rarities == null ? new ArrayList<CardRarity>() : rarities;
|
||||||
|
|
||||||
this.allowedSetCodes_ro = Collections.unmodifiableList(allowedSetCodes);
|
this.allowedSetCodes_ro = Collections.unmodifiableList(allowedSetCodes);
|
||||||
this.bannedCardNames_ro = Collections.unmodifiableList(bannedCardNames);
|
this.bannedCardNames_ro = Collections.unmodifiableList(bannedCardNames);
|
||||||
@@ -91,7 +91,7 @@ public class GameFormat implements Comparable<GameFormat> {
|
|||||||
if (!this.allowedSetCodes_ro.isEmpty()) {
|
if (!this.allowedSetCodes_ro.isEmpty()) {
|
||||||
p = Predicates.and(p, printed ?
|
p = Predicates.and(p, printed ?
|
||||||
IPaperCard.Predicates.printedInSets(this.allowedSetCodes_ro, printed) :
|
IPaperCard.Predicates.printedInSets(this.allowedSetCodes_ro, printed) :
|
||||||
StaticData.instance().getCommonCards().wasPrintedInSets(this.allowedSetCodes_ro));
|
(Predicate<PaperCard>)(StaticData.instance().getCommonCards().wasPrintedInSets(this.allowedSetCodes_ro)));
|
||||||
}
|
}
|
||||||
if (!this.allowedRarities.isEmpty()) {
|
if (!this.allowedRarities.isEmpty()) {
|
||||||
List<Predicate<? super PaperCard>> crp = Lists.newArrayList();
|
List<Predicate<? super PaperCard>> crp = Lists.newArrayList();
|
||||||
|
|||||||
@@ -467,7 +467,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
movedCard = game.getAction().moveToLibrary(tgtC, libraryPosition, sa, Maps.newHashMap());
|
movedCard = game.getAction().moveToLibrary(tgtC, libraryPosition, sa, null);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (destination.equals(ZoneType.Battlefield)) {
|
if (destination.equals(ZoneType.Battlefield)) {
|
||||||
@@ -559,7 +559,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
movedCard = game.getAction().moveTo(
|
movedCard = game.getAction().moveTo(
|
||||||
tgtC.getController().getZone(destination), tgtC, sa, Maps.newHashMap());
|
tgtC.getController().getZone(destination), tgtC, sa, null);
|
||||||
if (sa.hasParam("Unearth")) {
|
if (sa.hasParam("Unearth")) {
|
||||||
movedCard.setUnearthed(true);
|
movedCard.setUnearthed(true);
|
||||||
movedCard.addExtrinsicKeyword("Haste");
|
movedCard.addExtrinsicKeyword("Haste");
|
||||||
@@ -602,7 +602,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
tgtC.setExiledWith(host);
|
tgtC.setExiledWith(host);
|
||||||
}
|
}
|
||||||
movedCard = game.getAction().moveTo(destination, tgtC, sa, Maps.newHashMap());
|
movedCard = game.getAction().moveTo(destination, tgtC, sa, null);
|
||||||
// If a card is Exiled from the stack, remove its spells from the stack
|
// If a card is Exiled from the stack, remove its spells from the stack
|
||||||
if (sa.hasParam("Fizzle")) {
|
if (sa.hasParam("Fizzle")) {
|
||||||
if (tgtC.isInZone(ZoneType.Exile) || tgtC.isInZone(ZoneType.Hand)
|
if (tgtC.isInZone(ZoneType.Exile) || tgtC.isInZone(ZoneType.Hand)
|
||||||
@@ -966,7 +966,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
Card movedCard = null;
|
Card movedCard = null;
|
||||||
final Zone originZone = game.getZoneOf(c);
|
final Zone originZone = game.getZoneOf(c);
|
||||||
if (destination.equals(ZoneType.Library)) {
|
if (destination.equals(ZoneType.Library)) {
|
||||||
movedCard = game.getAction().moveToLibrary(c, libraryPos, sa, Maps.newHashMap());
|
movedCard = game.getAction().moveToLibrary(c, libraryPos, sa, null);
|
||||||
}
|
}
|
||||||
else if (destination.equals(ZoneType.Battlefield)) {
|
else if (destination.equals(ZoneType.Battlefield)) {
|
||||||
if (sa.hasParam("Tapped")) {
|
if (sa.hasParam("Tapped")) {
|
||||||
@@ -1101,7 +1101,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
movedCard = game.getAction().moveTo(c.getController().getZone(destination), c, sa, Maps.newHashMap());
|
movedCard = game.getAction().moveTo(c.getController().getZone(destination), c, sa, null);
|
||||||
if (sa.hasParam("Tapped")) {
|
if (sa.hasParam("Tapped")) {
|
||||||
movedCard.setTapped(true);
|
movedCard.setTapped(true);
|
||||||
}
|
}
|
||||||
@@ -1111,7 +1111,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
movedCard.setTimestamp(ts);
|
movedCard.setTimestamp(ts);
|
||||||
}
|
}
|
||||||
else if (destination.equals(ZoneType.Exile)) {
|
else if (destination.equals(ZoneType.Exile)) {
|
||||||
movedCard = game.getAction().exile(c, sa, Maps.newHashMap());
|
movedCard = game.getAction().exile(c, sa, null);
|
||||||
if (!c.isToken()) {
|
if (!c.isToken()) {
|
||||||
Card host = sa.getOriginalHost();
|
Card host = sa.getOriginalHost();
|
||||||
if (host == null) {
|
if (host == null) {
|
||||||
@@ -1124,7 +1124,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
movedCard = game.getAction().moveTo(destination, c, sa, Maps.newHashMap());
|
movedCard = game.getAction().moveTo(destination, c, sa, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
movedCards.add(movedCard);
|
movedCards.add(movedCard);
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ public class CopyPermanentEffect extends SpellAbilityEffect {
|
|||||||
|
|
||||||
// Temporarily register triggers of an object created with CopyPermanent
|
// Temporarily register triggers of an object created with CopyPermanent
|
||||||
//game.getTriggerHandler().registerActiveTrigger(copy, false);
|
//game.getTriggerHandler().registerActiveTrigger(copy, false);
|
||||||
final Card copyInPlay = game.getAction().moveToPlay(copy, sa, Maps.newHashMap());
|
final Card copyInPlay = game.getAction().moveToPlay(copy, sa, null);
|
||||||
|
|
||||||
// when copying something stolen:
|
// when copying something stolen:
|
||||||
copyInPlay.setSetCode(c.getSetCode());
|
copyInPlay.setSetCode(c.getSetCode());
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ public class RepeatEachEffect extends SpellAbilityEffect {
|
|||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
@Override
|
@Override
|
||||||
public void resolve(SpellAbility sa) {
|
public void resolve(SpellAbility sa) {
|
||||||
Card source = sa.getHostCard();
|
final Card source = sa.getHostCard();
|
||||||
|
|
||||||
AbilitySub repeat = sa.getAdditionalAbility("RepeatSubAbility");
|
final AbilitySub repeat = sa.getAdditionalAbility("RepeatSubAbility");
|
||||||
|
|
||||||
if (repeat != null && !repeat.getHostCard().equalsWithTimestamp(source)) {
|
if (repeat != null && !repeat.getHostCard().equalsWithTimestamp(source)) {
|
||||||
// TODO: for some reason, the host card of the original additional SA is set to the cloned card when
|
// TODO: for some reason, the host card of the original additional SA is set to the cloned card when
|
||||||
@@ -121,7 +121,7 @@ public class RepeatEachEffect extends SpellAbilityEffect {
|
|||||||
repeatPlayers.add(size - 1, repeatPlayers.remove(0));
|
repeatPlayers.add(size - 1, repeatPlayers.remove(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (Player p : repeatPlayers) {
|
for (final Player p : repeatPlayers) {
|
||||||
if (optional && !p.getController().confirmAction(repeat, null, sa.getParam("RepeatOptionalMessage"))) {
|
if (optional && !p.getController().confirmAction(repeat, null, sa.getParam("RepeatOptionalMessage"))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ public class CostAdjustment {
|
|||||||
cardsToDelveOut.add(c);
|
cardsToDelveOut.add(c);
|
||||||
} else if (!test) {
|
} else if (!test) {
|
||||||
sa.getHostCard().addDelved(c);
|
sa.getHostCard().addDelved(c);
|
||||||
delved.add(game.getAction().exile(c, null, Maps.newHashMap()));
|
delved.add(game.getAction().exile(c, null, null));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!delved.isEmpty()) {
|
if (!delved.isEmpty()) {
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ public class ManaCostBeingPaid {
|
|||||||
|
|
||||||
// holds Mana_Part objects
|
// holds Mana_Part objects
|
||||||
// ManaPartColor is stored before ManaPartGeneric
|
// ManaPartColor is stored before ManaPartGeneric
|
||||||
private final Map<ManaCostShard, ShardCount> unpaidShards = Maps.newHashMap();
|
private final Map<ManaCostShard, ShardCount> unpaidShards = new HashMap<ManaCostShard, ShardCount>();
|
||||||
private Map<String, Integer> xManaCostPaidByColor;
|
private Map<String, Integer> xManaCostPaidByColor;
|
||||||
private final String sourceRestriction;
|
private final String sourceRestriction;
|
||||||
private byte sunburstMap = 0;
|
private byte sunburstMap = 0;
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
game.getTriggerHandler().suppressMode(TriggerType.ChangesZone);
|
game.getTriggerHandler().suppressMode(TriggerType.ChangesZone);
|
||||||
activeScheme = getZone(ZoneType.SchemeDeck).get(0);
|
activeScheme = getZone(ZoneType.SchemeDeck).get(0);
|
||||||
// gameAction moveTo ?
|
// gameAction moveTo ?
|
||||||
game.getAction().moveTo(ZoneType.Command, activeScheme, null, Maps.newHashMap());
|
game.getAction().moveTo(ZoneType.Command, activeScheme, null, null);
|
||||||
game.getTriggerHandler().clearSuppression(TriggerType.ChangesZone);
|
game.getTriggerHandler().clearSuppression(TriggerType.ChangesZone);
|
||||||
|
|
||||||
// Run triggers
|
// Run triggers
|
||||||
@@ -1212,7 +1212,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
|
|
||||||
if (toBottom != null) {
|
if (toBottom != null) {
|
||||||
for(Card c : toBottom) {
|
for(Card c : toBottom) {
|
||||||
getGame().getAction().moveToBottomOfLibrary(c, null, Maps.newHashMap());
|
getGame().getAction().moveToBottomOfLibrary(c, null, null);
|
||||||
numToBottom++;
|
numToBottom++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1220,7 +1220,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
if (toTop != null) {
|
if (toTop != null) {
|
||||||
Collections.reverse(toTop); // the last card in list will become topmost in library, have to revert thus.
|
Collections.reverse(toTop); // the last card in list will become topmost in library, have to revert thus.
|
||||||
for(Card c : toTop) {
|
for(Card c : toTop) {
|
||||||
getGame().getAction().moveToLibrary(c, null, Maps.newHashMap());
|
getGame().getAction().moveToLibrary(c, null, null);
|
||||||
numToTop++;
|
numToTop++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1293,7 +1293,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
c = game.getAction().moveToHand(c, null, Maps.newHashMap());
|
c = game.getAction().moveToHand(c, null, null);
|
||||||
drawn.add(c);
|
drawn.add(c);
|
||||||
|
|
||||||
if (topCardRevealed) {
|
if (topCardRevealed) {
|
||||||
@@ -1503,16 +1503,16 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
sb.append(this).append(" discards ").append(c);
|
sb.append(this).append(" discards ").append(c);
|
||||||
final Card newCard;
|
final Card newCard;
|
||||||
if (discardToTopOfLibrary) {
|
if (discardToTopOfLibrary) {
|
||||||
newCard = game.getAction().moveToLibrary(c, 0, sa, Maps.newHashMap());
|
newCard = game.getAction().moveToLibrary(c, 0, sa, null);
|
||||||
sb.append(" to the library");
|
sb.append(" to the library");
|
||||||
// Play the Discard sound
|
// Play the Discard sound
|
||||||
}
|
}
|
||||||
else if (discardMadness) {
|
else if (discardMadness) {
|
||||||
newCard = game.getAction().exile(c, sa, Maps.newHashMap());
|
newCard = game.getAction().exile(c, sa, null);
|
||||||
sb.append(" with Madness");
|
sb.append(" with Madness");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
newCard = game.getAction().moveToGraveyard(c, sa, Maps.newHashMap());
|
newCard = game.getAction().moveToGraveyard(c, sa, null);
|
||||||
// Play the Discard sound
|
// Play the Discard sound
|
||||||
}
|
}
|
||||||
sb.append(".");
|
sb.append(".");
|
||||||
@@ -1580,7 +1580,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (Card m : milledView) {
|
for (Card m : milledView) {
|
||||||
game.getAction().moveTo(destination, m, null, Maps.newHashMap());
|
game.getAction().moveTo(destination, m, null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
return milled;
|
return milled;
|
||||||
@@ -1648,7 +1648,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
if (land.isFaceDown()) {
|
if (land.isFaceDown()) {
|
||||||
land.turnFaceUp();
|
land.turnFaceUp();
|
||||||
}
|
}
|
||||||
game.getAction().moveTo(getZone(ZoneType.Battlefield), land, null, Maps.newHashMap());
|
game.getAction().moveTo(getZone(ZoneType.Battlefield), land, null, new HashMap<String, Object>());
|
||||||
|
|
||||||
// play a sound
|
// play a sound
|
||||||
game.fireEvent(new GameEventLandPlayed(this, land));
|
game.fireEvent(new GameEventLandPlayed(this, land));
|
||||||
@@ -2430,7 +2430,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
game.getView().updatePlanarPlayer(getView());
|
game.getView().updatePlanarPlayer(getView());
|
||||||
|
|
||||||
for (Card c : currentPlanes) {
|
for (Card c : currentPlanes) {
|
||||||
game.getAction().moveTo(ZoneType.Command,c, null, Maps.newHashMap());
|
game.getAction().moveTo(ZoneType.Command,c, null, null);
|
||||||
//getZone(ZoneType.PlanarDeck).remove(c);
|
//getZone(ZoneType.PlanarDeck).remove(c);
|
||||||
//getZone(ZoneType.Command).add(c);
|
//getZone(ZoneType.Command).add(c);
|
||||||
}
|
}
|
||||||
@@ -2460,7 +2460,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
//game.getZoneOf(plane).remove(plane);
|
//game.getZoneOf(plane).remove(plane);
|
||||||
plane.clearControllers();
|
plane.clearControllers();
|
||||||
//getZone(ZoneType.PlanarDeck).add(plane);
|
//getZone(ZoneType.PlanarDeck).add(plane);
|
||||||
game.getAction().moveTo(ZoneType.PlanarDeck, plane,-1, null, Maps.newHashMap());
|
game.getAction().moveTo(ZoneType.PlanarDeck, plane,-1, null, null);
|
||||||
}
|
}
|
||||||
currentPlanes.clear();
|
currentPlanes.clear();
|
||||||
|
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ public abstract class Trigger extends TriggerReplacementBase {
|
|||||||
this.id = nextId();
|
this.id = nextId();
|
||||||
this.intrinsic = intrinsic;
|
this.intrinsic = intrinsic;
|
||||||
|
|
||||||
this.setRunParams(Maps.newHashMap());
|
this.setRunParams(new HashMap<String, Object>()); // TODO: Consider whether this can be null instead, for performance reasons.
|
||||||
this.originalMapParams.putAll(params);
|
this.originalMapParams.putAll(params);
|
||||||
this.mapParams.putAll(params);
|
this.mapParams.putAll(params);
|
||||||
this.setHostCard(host);
|
this.setHostCard(host);
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
|||||||
if (ability.isSpell()) {
|
if (ability.isSpell()) {
|
||||||
final Card source = ability.getHostCard();
|
final Card source = ability.getHostCard();
|
||||||
if (!source.isCopiedSpell() && !source.isInZone(ZoneType.Stack)) {
|
if (!source.isCopiedSpell() && !source.isInZone(ZoneType.Stack)) {
|
||||||
ability.setHostCard(game.getAction().moveToStack(source, ability, Maps.newHashMap()));
|
ability.setHostCard(game.getAction().moveToStack(source, ability, null));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,15 +10,11 @@
|
|||||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
||||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
|
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="output" path="bin/classes"/>
|
<classpathentry kind="output" path="bin/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
@@ -11,11 +11,6 @@
|
|||||||
<classpathentry combineaccessrules="false" kind="src" path="/forge-gui"/>
|
<classpathentry combineaccessrules="false" kind="src" path="/forge-gui"/>
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/forge-gui-mobile"/>
|
<classpathentry combineaccessrules="false" kind="src" path="/forge-gui-mobile"/>
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/forge-ai"/>
|
<classpathentry combineaccessrules="false" kind="src" path="/forge-ai"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
@@ -27,5 +22,6 @@
|
|||||||
<classpathentry kind="lib" path="/forge-gui-mobile/libs/gdx-freetype.jar"/>
|
<classpathentry kind="lib" path="/forge-gui-mobile/libs/gdx-freetype.jar"/>
|
||||||
<classpathentry kind="con" path="org.robovm.eclipse.ROBOVM_CONTAINER"/>
|
<classpathentry kind="con" path="org.robovm.eclipse.ROBOVM_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.robovm.eclipse.ROBOVM_COCOA_TOUCH_CONTAINER"/>
|
<classpathentry kind="con" path="org.robovm.eclipse.ROBOVM_COCOA_TOUCH_CONTAINER"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
@@ -6,11 +6,6 @@
|
|||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="lib" path="libs/gdx-backend-lwjgl-natives.jar"/>
|
<classpathentry kind="lib" path="libs/gdx-backend-lwjgl-natives.jar"/>
|
||||||
<classpathentry kind="lib" path="libs/gdx-backend-lwjgl.jar" sourcepath="libs/gdx-backend-lwjgl-sources.jar"/>
|
<classpathentry kind="lib" path="libs/gdx-backend-lwjgl.jar" sourcepath="libs/gdx-backend-lwjgl-sources.jar"/>
|
||||||
<classpathentry kind="lib" path="libs/gdx-natives.jar"/>
|
<classpathentry kind="lib" path="libs/gdx-natives.jar"/>
|
||||||
@@ -20,5 +15,6 @@
|
|||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
||||||
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
|
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
|
||||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
|
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
Reference in New Issue
Block a user