You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Entity "prefabs" would be a collection of components that could be added to an entity. For example, if we wanted to create an "lamp" entity that always needed a Position, Renderable, Interactable, and Light component, we could just add the collection of components to the entity, rather than needing to add every component individually.
The text was updated successfully, but these errors were encountered:
This was an initial idea, where we basically just store them as an array of components. This was from a while back; I just pulled out my stash. I never properly figured out if this was the best approach though.
Entity "prefabs" would be a collection of components that could be added to an entity. For example, if we wanted to create an "lamp" entity that always needed a Position, Renderable, Interactable, and Light component, we could just add the collection of components to the entity, rather than needing to add every component individually.
The text was updated successfully, but these errors were encountered: