Skip to content

Extending or customising JALSE

Elliot Ford edited this page Apr 16, 2015 · 15 revisions

Why extend or customise JALSE

JALSE was designed with modular abstraction in mind. Each of the core components can be used to some extent on their own but together create the dynamic Entity tree.

The most common use-case for customisation is the backing Entity and EntityFactory implementation.

Creating a custom AttributeContainer

The default AttributeContainer implementation is DefaultAttributeContainer. AttributeContainer provides a lot of default methods to make creating your own implementation easier. Attributes (see API docs) provides handy utility methods for both AttributeType and NamedAttributeType.

Creating a custom ActionEngine

Creating a custom EntityFactory

Creating a custom Entity

Creating a custom EntityContainer

Creating a custom Taggable

Using the custom implementations

Example custom implementations

Clone this wiki locally