MockHUD

class MockHUD(val hudConfig: HudConfig, setupMocks: Boolean = true, coroutineScope: CoroutineScope) : BaseHUD

Mock implementation of BaseHUD

Parameters

hudConfig

The HudConfig of the MockHUD

setupMocks

If true sets up mocks to display the hud

coroutineScope

The CoroutineScope of the MockHUD

Constructors

Link copied to clipboard
constructor(hudConfig: HudConfig, setupMocks: Boolean = true, coroutineScope: CoroutineScope)

Types

Link copied to clipboard
class Builder(setupMocks: Boolean = true) : BaseHUD.Builder

Mock implementation of BaseHUD.Builder

Properties

Link copied to clipboard
Link copied to clipboard
open override val hudConfig: HudConfig
Link copied to clipboard
open override var isVisible: Boolean

If true the HUD is currently being displayed

Functions

Link copied to clipboard
open suspend override fun dismiss(animated: Boolean)
Link copied to clipboard
open suspend override fun present(animated: Boolean): BaseHUD