Uses of Class
com.xebisco.yield.ContextTime
Packages that use ContextTime
-
Uses of ContextTime in com.xebisco.yield
Methods in com.xebisco.yield that return ContextTimeModifier and TypeMethodDescriptionContext.contextTime()This function returns the context time.ContextTime.setDeltaTime(double deltaTime) Sets the delta time.ContextTime.setTargetFPS(double targetFPS) Sets the target frames per second (FPS) for this context.ContextTime.setTargetSleepTime(long targetSleepTime) Sets the target sleep time.ContextTime.setTimeScale(double timeScale) Sets the timescale.ContextTime.setTimeSinceStart(long timeSinceStart) Sets the time since the start of the context.Methods in com.xebisco.yield with parameters of type ContextTimeModifier and TypeMethodDescriptionvoidComponentBehavior.onLateUpdate(ContextTime time) Called after allComponentBehavior.onUpdate(ContextTime)calls.voidAnimationPlayer.onUpdate(ContextTime time) This method is called every frame to update the animation player.voidApplication.onUpdate(ContextTime time) voidBehavior.onUpdate(ContextTime time) This method is called when the behavior needs to be updated with the current time.voidComponentBehavior.onUpdate(ContextTime time) Called every frame.voidEntity2D.onUpdate(ContextTime time) voidEntity2DContainer.onUpdate(ContextTime time) voidScene.onUpdate(ContextTime time) voidSystemBehavior.onUpdate(ContextTime time) voidAbstractBehavior.tick(ContextTime time) Updates the behavior each frame.Constructors in com.xebisco.yield with parameters of type ContextTimeModifierConstructorDescriptionContext(ContextTime contextTime, AbstractBehavior abstractBehavior, String name) Constructs a new Context object. -
Uses of ContextTime in com.xebisco.yield.manager
Constructors in com.xebisco.yield.manager with parameters of type ContextTimeModifierConstructorDescriptionApplicationManager(ContextTime contextTime) Constructs an instance ofApplicationManagerwith the specified context time. -
Uses of ContextTime in com.xebisco.yield.physics
Methods in com.xebisco.yield.physics with parameters of type ContextTimeModifier and TypeMethodDescriptionvoidPhysicsBody.onLateUpdate(ContextTime time) voidPhysicsBody.onUpdate(ContextTime time) voidPhysicsSystem.onUpdate(ContextTime time)