Added Marathon speed per user request

This commit is contained in:
Yair Morgenstern 2020-01-27 00:11:01 +02:00
parent daa3c8fcec
commit f1fb8aea18

View File

@ -3,13 +3,15 @@ package com.unciv.models.metadata
enum class GameSpeed{ enum class GameSpeed{
Quick, Quick,
Standard, Standard,
Epic; Epic,
Marathon;
fun getModifier(): Float { fun getModifier(): Float {
when(this) { when(this) {
Quick -> return 0.67f Quick -> return 0.67f
Standard -> return 1f Standard -> return 1f
Epic -> return 1.5f Epic -> return 1.5f
Marathon -> return 1.5f
} }
} }
} }