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

Method addMayLookAt

forge-game/src/main/java/forge/game/card/Card.java:3794–3801  ·  view source on GitHub ↗
(final long timestamp, final Iterable<Player> list)

Source from the content-addressed store, hash-verified

3792 }
3793
3794 public final void addMayLookAt(final long timestamp, final Iterable<Player> list) {
3795 PlayerCollection plist = new PlayerCollection(list);
3796 mayLook.put(timestamp, plist);
3797 if (isFaceDown() && isInZone(ZoneType.Exile)) {
3798 mayLookFaceDownExile.addAll(plist);
3799 }
3800 updateMayLook();
3801 }
3802
3803 public final void removeMayLookAt(final long timestamp) {
3804 if (mayLook.remove(timestamp) != null) {

Callers 2

handleHiddenAgendaMethod · 0.80

Calls 5

isFaceDownMethod · 0.95
isInZoneMethod · 0.95
updateMayLookMethod · 0.95
putMethod · 0.45
addAllMethod · 0.45

Tested by

no test coverage detected