Skip to content

Zay-ES Core 1.5.0

Latest
Compare
Choose a tag to compare
@pspeed42 pspeed42 released this 27 Jan 01:27
· 24 commits to master since this release

A maintenance release with some API improvements and some bug fixes.

Change log:

  • Added some trace logging to DefaultEntityData.removeEntity() and DefaultEntityData.removeComponent()
  • Added the PersistentEntityData interface to allow EntityData implementations to implement persistence-specific methods.
  • Modified SqlEntityData to implement the PersistentEntityData interface.
  • Added PersistentEntityData.markPersistentType() for indicating that a component should be persistent even if it doesn't implement the PersistentComponent interface. Sometimes a library component's persistability is not black and white between one codebase and another and requiring interface implementation was too restrictive.
  • Modified the sql ComponentTable class to work with non-public type constructors.
  • Fixed sql ComponentTable to handle components with no fields.
  • Added a proper toString() method to DefaultWatchedEntity.
  • Fixed redundant EntityChange events from being sent if EntityData.removeEntity() is used.