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

Method updateMayPlay

forge-game/src/main/java/forge/game/card/Card.java:3834–3841  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3832 }
3833
3834 public final void updateMayPlay() {
3835 PlayerCollection result = new PlayerCollection();
3836 for (CardPlayOption o : mayPlay.values()) {
3837 if (o.grantsZonePermissions())
3838 result.add(o.getPlayer());
3839 }
3840 getView().setMayPlayPlayers(result);
3841 }
3842
3843 public final CardPlayOption mayPlay(final StaticAbility sta) {
3844 if (sta == null) {

Callers 2

setMayPlayMethod · 0.95
removeMayPlayMethod · 0.95

Calls 6

getViewMethod · 0.95
valuesMethod · 0.80
grantsZonePermissionsMethod · 0.80
setMayPlayPlayersMethod · 0.80
addMethod · 0.65
getPlayerMethod · 0.65

Tested by

no test coverage detected