Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: IdleAction

[17:7] extends: Action

Wraps FXGL's IdleAction final class (com.almasb.fxgl.entity.action.IdleAction). A no-op InstantAction the engine uses internally when an ActionComponent's queue is empty. Construct one and queue it to keep an entity's action loop "alive" without doing any work. IdleAction is a final class, so its behavior cannot be overridden.

Methods

  • IdleAction ()

    Creates a new IdleAction.

  • adopt (object Ajo)

    Wraps an existing IdleAction AussomJavaObject.