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

Method setMayPlay

forge-game/src/main/java/forge/game/card/Card.java:3859–3862  ·  view source on GitHub ↗
(final Player player, final boolean withoutManaCost, final Cost altManaCost, final boolean withFlash, final boolean grantZonePermissions, final StaticAbility sta)

Source from the content-addressed store, hash-verified

3857 return result;
3858 }
3859 public final void setMayPlay(final Player player, final boolean withoutManaCost, final Cost altManaCost, final boolean withFlash, final boolean grantZonePermissions, final StaticAbility sta) {
3860 this.mayPlay.put(sta, new CardPlayOption(player, sta, withoutManaCost, altManaCost, withFlash, grantZonePermissions));
3861 this.updateMayPlay();
3862 }
3863 public final void removeMayPlay(final StaticAbility sta) {
3864 this.mayPlay.remove(sta);
3865 this.updateMayPlay();

Callers 1

getAlternativeCostsMethod · 0.95

Calls 2

updateMayPlayMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected