()
| 128 | corresponding Edition - so we could Foil even Alpha cards. |
| 129 | */ |
| 130 | public PaperCard getFoiled() { |
| 131 | if (this.foil) |
| 132 | return this; |
| 133 | |
| 134 | if (this.foiledVersion == null) { |
| 135 | this.foiledVersion = new PaperCard(this.rules, this.edition, this.rarity, |
| 136 | this.artIndex, true, String.valueOf(collectorNumber), this.artist, this.functionalVariant); |
| 137 | } |
| 138 | return this.foiledVersion; |
| 139 | } |
| 140 | public PaperCard getUnFoiled() { |
| 141 | if (!this.foil) |
| 142 | return this; |
no test coverage detected