Commit graph

2 commits

Author SHA1 Message Date
flamendless
b47fe315c7
Fixed bug with serialization/deserialization 2023-02-14 18:18:42 -03:00
Pablo Ariel Mayobre
f795fee2c5
Entity's Keys
You can now give the 'key' component to Entities.

A key will be generated automatically and stored in Entity.key.value.

You can then use this key to fetch the Entity from the World with World:getEntityByKey(key)

The keys are generated with a generator function that can be overriden.
2023-02-14 18:14:25 -03:00