use Singleton SoundEngine instead of GameState
parent
9f91a7c424
commit
e7dfc8fa78
@ -1,13 +1,11 @@
|
|||||||
package com.last.commit
|
package com.last.commit
|
||||||
|
|
||||||
import com.last.commit.audio.SoundEngine
|
|
||||||
import com.last.commit.inventory.Inventory
|
import com.last.commit.inventory.Inventory
|
||||||
import com.last.commit.map.MapState
|
import com.last.commit.map.MapState
|
||||||
import com.last.commit.stages.DialogStage
|
import com.last.commit.stages.DialogStage
|
||||||
|
|
||||||
data class GameState(
|
data class GameState(
|
||||||
val inventory: Inventory,
|
val inventory: Inventory,
|
||||||
val soundEngine: SoundEngine,
|
|
||||||
var map: MapState? = null,
|
var map: MapState? = null,
|
||||||
val dialogStage: DialogStage
|
val dialogStage: DialogStage
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue