package coffee.liz.abstractionengine.game import androidx.compose.ui.graphics.ImageBitmap /** * Simple cache for loaded images. * In a real game, you'd want more sophisticated resource management. */ class ImageCache { private val images = mutableMapOf() fun loadImage(path: String, image: ImageBitmap) { images[path] = image } fun getImage(path: String): ImageBitmap? { return images[path] } fun clear() { images.clear() } }