-
Notifications
You must be signed in to change notification settings - Fork 3
Components
John Tuttle edited this page Sep 30, 2017
·
2 revisions
Components can be attached to Entities and hold all of the data for your game world. Ideally, they should contain ONLY data and possibly some helper methods for shaping the data when it is set or retrieved. Maintaining this strict data-only requirement allows components to be easily serialized, which can come in handy when you need a snapshot of your game world for saving and loading a game or for networking purposes.