| Package | Description |
|---|---|
| com.almasb.fxgl.service |
| Modifier and Type | Method and Description |
|---|---|
TimerAction |
MasterTimer.runAtInterval(Runnable action,
javafx.util.Duration interval)
The Runnable action will be scheduled to run at given interval.
|
TimerAction |
MasterTimer.runAtIntervalWhile(Runnable action,
javafx.util.Duration interval,
javafx.beans.property.ReadOnlyBooleanProperty whileCondition)
The Runnable action will be scheduled for execution iff
whileCondition is initially true.
|
TimerAction |
MasterTimer.runOnceAfter(Runnable action,
javafx.util.Duration delay)
The Runnable action will be executed once after given delay
|
Copyright © 2017. All rights reserved.