Serializable
Built-in marker Component. Entities with this Component are included in World:serialize.
Require
Section titled “Require”If the concord folder is in the root directory of your game, you can import this module like so:
Serializable = require('concord.builtins.serializable')Serializable
Section titled “Serializable”The Component itself is not serialized.
Extends ComponentClass.
serialize
Section titled “serialize”Callback: When the Component gets serialized as part of an Entity.
Returns nil so this marker is not written to serialized data.
serializable:serialize()