-
Notifications
You must be signed in to change notification settings - Fork 24
What is an Action?
An Action is similar to Runnable in the sense it is used to perform work and is ran some time in the future. Actions are handed a an ActionContext that can be used schedule, cancel and retrieve additional information for processing.
For how to create actions see Creating an Action and for how to a build multi-action see Building a MultiAction.
What is an ActionEngine?
An ActionEngine is used to schedule and execute Actions. It does this by providing an ActionContext bound to that Action and the engine itself (see Scheduling, awaiting and cancelling actions for more information).
JALSE provides several default ActionEngine implementations (see Picking an ActionEngine implementation).
What is an ActionScheduler?
An ActionScheduler is used to provide a bridge between an ActionEngine and a specific actor. ActionScheduler provides methods for scheduling Actions and providing the actor to the ActionContext (see Using an ActionScheduler for more information).
For some handy Action related methods see Actions (API docs for Actions):
- Unmodifiable ActionBindings
- Unschedulable SchedulableActionContext
- Unmodifiable ActionEngine
- Empty ActionBindings
- Empty SchedulableActionContext
- Empty ActionEngine
Check out the Example projects and Code snippets!
Getting Started
- Getting the latest release
- Building from source
- Example projects
- Code snippets
- How to contribute
- Have bugs or questions?
How To Use
- JALSE
- Entities
- Attributes
- Actions
- Tags
Misc