StageAction

open class StageAction(beforeDelay: Long, val action: (AbstractStage) -> Unit)

StageAction class determines the behalf of a Stage, and before executing the action, it will wait for beforeDelay in logical frames

Author

KKoishi_

Parameters

beforeDelay

the delay before the action is invoked.

action

the action to be invoked.

Inheritors

Constructors

Link copied to clipboard
constructor(beforeDelay: Long, action: (AbstractStage) -> Unit)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun canAction(): Boolean
Link copied to clipboard
open operator fun invoke(stage: AbstractStage)