TutorialController

class TutorialController(screen: BaseScreen)

Types

CivilopediaTutorial
Link copied to clipboard
class CivilopediaTutorial(rawName: String, lines: Array<String>) : SimpleCivilopediaText, INamed

Wrapper for a Tutorial, supports INamed and ICivilopediaText, and already provisions for the display of an ExtraImage on top.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getCivilopediaTutorials
Link copied to clipboard

Get all Tutorials intended to be displayed in the Civilopedia as a List of wrappers supporting INamed and ICivilopediaText

getTutorial
Link copied to clipboard
private fun getTutorial(tutorial: Tutorial): Array<String>
hashCode
Link copied to clipboard
open fun hashCode(): Int
removeTutorial
Link copied to clipboard
private fun removeTutorial(tutorial: Tutorial)
showTutorial
Link copied to clipboard
fun showTutorial(tutorial: Tutorial)
showTutorialIfNeeded
Link copied to clipboard
private fun showTutorialIfNeeded()
toString
Link copied to clipboard
open fun toString(): String

Properties

allTutorialsShowedCallback
Link copied to clipboard
var allTutorialsShowedCallback: () -> Unit? = null
isTutorialShowing
Link copied to clipboard
private var isTutorialShowing: Boolean = false
tutorialQueue
Link copied to clipboard
private val tutorialQueue: MutableSet<Tutorial>
tutorialRender
Link copied to clipboard
private val tutorialRender: TutorialRender
tutorials
Link copied to clipboard
private val tutorials: LinkedHashMap<String, Array<String>>

Sources

jvm source
Link copied to clipboard