Browse Source

Renamed CoinType to Currency

jimFirstDesign
Felix Stupp 2 years ago
parent
commit
9273ffd554
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/de/banananetwork/dsa/currencies/Currency.java

src/de/banananetwork/dsa/currencies/CoinType.java → src/de/banananetwork/dsa/currencies/Currency.java View File

@ -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