MCPcopy Create free account
hub / github.com/Card-Forge/forge / mayPlay

Method mayPlay

forge-game/src/main/java/forge/game/card/Card.java:3843–3848  ·  view source on GitHub ↗
(final StaticAbility sta)

Source from the content-addressed store, hash-verified

3841 }
3842
3843 public final CardPlayOption mayPlay(final StaticAbility sta) {
3844 if (sta == null) {
3845 return null;
3846 }
3847 return mayPlay.get(sta);
3848 }
3849
3850 public final List<CardPlayOption> mayPlay(final Player player) {
3851 List<CardPlayOption> result = Lists.newArrayList();

Callers 15

playAbilityMethod · 0.95
playImmediatelyMethod · 0.95
canPlayLandMethod · 0.80
checkZoneRestrictionsMethod · 0.80
testMethod · 0.80
getAbilityToPlayMethod · 0.80
hasACardGivingHasteMethod · 0.80

Calls 5

valuesMethod · 0.80
getMethod · 0.65
getPlayerMethod · 0.65
addMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected