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

Method moveToPlay

forge-game/src/main/java/forge/game/GameAction.java:860–862  ·  view source on GitHub ↗
(final Card c, SpellAbility cause, Map<AbilityKey, Object> params)

Source from the content-addressed store, hash-verified

858 }
859
860 public final Card moveToPlay(final Card c, SpellAbility cause, Map<AbilityKey, Object> params) {
861 return moveToPlay(c, c.getController(), cause, params);
862 }
863 public final Card moveToPlay(final Card c, final Player p, SpellAbility cause, Map<AbilityKey, Object> params) {
864 // move to a specific player's Battlefield
865 final PlayerZone play = p.getZone(ZoneType.Battlefield);

Callers 15

moveToMethod · 0.95
setupPlayerStateMethod · 0.80
manifestMethod · 0.80
cloakMethod · 0.80
resolveMethod · 0.80
resolveMethod · 0.80
resolveMethod · 0.80
resolveMethod · 0.80
removeFromStackMethod · 0.80
resolveMethod · 0.80
resolveMethod · 0.80
resolveMethod · 0.80

Calls 3

moveToMethod · 0.95
getControllerMethod · 0.45
getZoneMethod · 0.45

Tested by

no test coverage detected