summaryrefslogtreecommitdiff
path: root/game-engine/src/main/kotlin/org
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-07-16 02:19:16 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-07-16 02:19:22 +0200
commitd1b3c9c9ff575fe0af010e7c335945f69232a2db (patch)
tree866ad9f462b5249550301653a1a682a5356d41a6 /game-engine/src/main/kotlin/org
parentRework resources representations (diff)
downloadseven-wonders-d1b3c9c9ff575fe0af010e7c335945f69232a2db.tar.gz
seven-wonders-d1b3c9c9ff575fe0af010e7c335945f69232a2db.tar.bz2
seven-wonders-d1b3c9c9ff575fe0af010e7c335945f69232a2db.zip
Make GameDefinitionLoader a singleton object
Diffstat (limited to 'game-engine/src/main/kotlin/org')
-rw-r--r--game-engine/src/main/kotlin/org/luxons/sevenwonders/game/data/GameDefinitionLoader.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/data/GameDefinitionLoader.kt b/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/data/GameDefinitionLoader.kt
index 103adcae..e0f82c2b 100644
--- a/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/data/GameDefinitionLoader.kt
+++ b/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/data/GameDefinitionLoader.kt
@@ -21,7 +21,7 @@ import org.luxons.sevenwonders.game.resources.Production
import org.luxons.sevenwonders.game.resources.ResourceType
import org.luxons.sevenwonders.game.resources.Resources
-class GameDefinitionLoader {
+object GameDefinitionLoader {
val gameDefinition: GameDefinition by lazy { load() }
bgstack15