Renamed CoinType to Currency

jimFirstDesign
Felix Stupp 6 years ago
parent c7df84d90d
commit 9273ffd554

@ -1,6 +1,6 @@
package de.banananetwork.dsa.currencies;
public enum CoinType {
public enum Currency {
// TODO Transfer from constant values to variable ones
// TODO Add some other currencies (https://de.wiki-aventurica.de/wiki/Aventurische_W%C3%A4hrungen)
MITTELREICH_KREUZER(1), // Base Value
@ -11,11 +11,11 @@ public enum CoinType {
private final int multiplier;
CoinType(int multiplier) {
Currency(int multiplier) {
this.multiplier = multiplier;
}
CoinType(CoinType reference, int multiplier) {
Currency(Currency reference, int multiplier) {
this.multiplier = reference.multiplier * multiplier;
}
Loading…
Cancel
Save