1. Michael Ludwig
  2. entreri
  3. Issues
Issue #18 resolved

Add @Copy or @Clone attribute for object properties

Michael Ludwig
repo owner created an issue

This is a feature request from a java-gaming.org member. They need a way to:

  1. Copy the reference/value, so if it's an object both components will share the same instance
  2. Clone the reference. This is the same as copy for primitive values, but will somehow clone the object (i.e. with the Cloneable interface) to get a new but equal instance for the new component.
  3. Disable the cloning/copying step so that the new component just has the default value