()
| 40 | } |
| 41 | |
| 42 | public save(): void{ |
| 43 | Saving.saveNumber(this.savingPrefix + "Accumulated", this.getAccumulated()); |
| 44 | Saving.saveNumber(this.savingPrefix + "Current", this.getCurrent()); |
| 45 | Saving.saveNumber(this.savingPrefix + "Max", this.getMax()); |
| 46 | } |
| 47 | |
| 48 | public transferTo(resource: Resource, howMany: number = -1, ratio: number = 1): boolean{ |
| 49 | // If howMany is below 0, then we transfer everything |
nothing calls this directly
no test coverage detected