-
Notifications
You must be signed in to change notification settings - Fork 114
Entity References and Serialization
Daan van Yperen edited this page Sep 6, 2015
·
13 revisions
Entity references can be safely serialized. This feature is only for serialization, and does not protect your references from dangling when entities go out of scope.
Serialization compatible entity references:
public class Parent extends Component {
public Entity entity;
public Bag<Entity> entities;
@EntityId
public int parentId;
@EntityId
public IntBag entityIds = new IntBag();
}
- Overview
- Concepts
- Getting Started
- Using
- More guides
- Plugins
- Game Gallery
- Tools and Frameworks
- API reference