open class GameAnimatorBuilder
Builder for GameAnimator
.
See Also
GameAnimatorcc.hawkbot.regnum.client.core.discord.GameAnimator.Game
GameAnimatorBuilder()
Builder for |
open fun addGames(vararg games: Game!): GameAnimatorBuilder open fun addGames(games: MutableCollection<Game!>!): GameAnimatorBuilder
Adds all specified |
|
open fun build(): GameAnimator
Builds the |
|
open fun getApplier(): BiConsumer<Game!, Function<String!, String!>!>!
Returns the currently set function with applies the games. |
|
open fun getGames(): MutableList<Game!>
Returns a list containing all |
|
open fun getInitialDelay(): Long
Returns the amount of time till the first animation. |
|
open fun getInterval(): Long
Returns the interval in which the games are going to be changed. |
|
open fun getScheduler(): ScheduledExecutorService
Returns the currently selected scheduler. |
|
open fun getTimeUnit(): TimeUnit
Returns the |
|
open fun getTransform(): Function<String!, String!>
Returns the function that transfroms every game before applying it |
|
open fun setApplier(applier: BiConsumer<Game!, Function<String!, String!>!>!): GameAnimatorBuilder
Sets the function that is use to apply the games |
|
open fun setGames(games: MutableList<Game!>): GameAnimatorBuilder
Sets the |
|
open fun setInitialDelay(initialDelay: Long): GameAnimatorBuilder
Sets the amount of time till the first animation open fun setInitialDelay(initialDelay: Long, unit: TimeUnit?): GameAnimatorBuilder
Sets the animation interval and its unit. |
|
open fun setInterval(interval: Long): GameAnimatorBuilder
Sets the interval in which the games are going to be changed. open fun setInterval(interval: Long, unit: TimeUnit?): GameAnimatorBuilder
Sets the animation interval and its unit. |
|
open fun setJDA(jda: JDA!): GameAnimatorBuilder
Uses an |
|
open fun setScheduler(scheduler: ScheduledExecutorService): GameAnimatorBuilder
Sets the scheduler used to animate the games. |
|
open fun setShardManager(shardManager: ShardManager!): GameAnimatorBuilder
Uses an |
|
open fun setTimeUnit(unit: TimeUnit): GameAnimatorBuilder
Sets the |
|
open fun setTransform(transform: Function<String!, String!>!): GameAnimatorBuilder
Sets the function that transfroms every game before applying it |