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

Method get

forge-game/src/main/java/forge/game/card/CardView.java:35–37  ·  view source on GitHub ↗
(Card c)

Source from the content-addressed store, hash-verified

33 private static final long serialVersionUID = -3624090829028979255L;
34
35 public static CardView get(Card c) {
36 return c == null ? null : c.getView();
37 }
38 public static CardStateView getState(Card c, CardStateName state) {
39 if (c == null) { return null; }
40 CardState s = c.getState(state);

Callers 15

getCardViewMethod · 0.95
updateHostCardMethod · 0.95
updateHostCardMethod · 0.95
playLandMethod · 0.95
addSacrificedThisTurnMethod · 0.95
getCardViewMethod · 0.95
updateSourceCardMethod · 0.95
updateHostCardMethod · 0.95
phaseMethod · 0.95
getBackupMethod · 0.95

Calls 1

getViewMethod · 0.65

Tested by

no test coverage detected