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

Method attachToEntity

forge-game/src/main/java/forge/game/card/Card.java:3960–3962  ·  view source on GitHub ↗
(final GameEntity entity, SpellAbility sa)

Source from the content-addressed store, hash-verified

3958 }
3959
3960 public final void attachToEntity(final GameEntity entity, SpellAbility sa) {
3961 attachToEntity(entity, sa, false);
3962 }
3963 public final void attachToEntity(final GameEntity entity, SpellAbility sa, boolean overwrite) {
3964 if (!overwrite && !entity.canBeAttached(this, sa)) {
3965 return;

Callers 15

handleCardAttachmentsMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
testEquippedAbilitiesMethod · 0.95

Calls 15

isAttachedToEntityMethod · 0.95
getEntityAttachedToMethod · 0.95
equalsMethod · 0.95
unattachFromEntityMethod · 0.95
setEntityAttachedToMethod · 0.95
setLayerTimestampMethod · 0.95
getGameMethod · 0.95
mapFromAffectedMethod · 0.95
newMapMethod · 0.95
getControllerMethod · 0.95
hasKeywordMethod · 0.95
createEffectMethod · 0.95