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

Method visitKeywords

forge-game/src/main/java/forge/game/card/Card.java:5002–5004  ·  view source on GitHub ↗
(CardState state, Visitor<KeywordInterface> visitor)

Source from the content-addressed store, hash-verified

5000 // Allows traversing the card's keywords without needing to concat a bunch
5001 // of lists. Optimizes common operations such as hasKeyword().
5002 public final void visitKeywords(CardState state, Visitor<KeywordInterface> visitor) {
5003 visitUnhiddenKeywords(state, visitor);
5004 }
5005
5006 @Override
5007 public final boolean hasKeyword(Keyword keyword) {

Callers 4

getKeywordsMethod · 0.95
hasKeywordMethod · 0.95
hasStartOfKeywordMethod · 0.95
getAmountOfKeywordMethod · 0.95

Calls 1

visitUnhiddenKeywordsMethod · 0.95

Tested by

no test coverage detected