Package limn.scene
Interface Scene.Ticker
- Enclosing class:
Scene
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Animation hook, called once per frame while registered.
-
Method Summary
-
Method Details
-
tick
boolean tick(double dtSeconds) - Parameters:
dtSeconds- seconds since the previous tick (0 on the first), already clamped toScene.MAX_TICK_SECONDSand (for a scene-time ticker) multiplied byScene.timeScale()- Returns:
trueto keep ticking,falseto stop
-