Skip to main content

ImageManager

The ImageManager is responsible for holding the images you see in the gallery. The ImageManager also calculates when the gallery images should be shown.

# Add the QueenBusGrope.png image to the gallery, only if the `newGame` quest is complete.
QB.image.addImage("res://assets/images/QuestImages/QueenBusGrope.png", "newGame")

images: Array

An array that holds all the images in the gallery.

addImage(key, questID)

Add an image to the list of images.

QB.image.addImage("res://assets/images/QuestImages/princessOfAviaScarlettBoobs.png", "princessOfAviaOrgy")

key: String

The path to the image.

questID: String

The gallery will only display this image if the given quest ID is complete.