()
| 20 | } |
| 21 | |
| 22 | public isPossible(): boolean{ // Is the enchatment possible? |
| 23 | // If we have the before item but not the after item, we return true |
| 24 | if(this.beforeItem.isPossessed() == true && this.afterItem.isPossessed() == false) |
| 25 | return true; |
| 26 | |
| 27 | // Else we return false |
| 28 | return false; |
| 29 | } |
| 30 | |
| 31 | // Public getters |
| 32 | public getAfterItem(): EnchantmentItem{ |
no test coverage detected