Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Added hasRegisteredComponent to World and ComponentManager #236

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

lalalune
Copy link
Contributor

@lalalune lalalune commented Aug 5, 2020

The goal here is to be able to check whether a component has already been registered to the world before adding it, which can be helpful when different init sequences rely on the same components.

@fernandojsg
Copy link
Member

Thanks!

@fernandojsg fernandojsg merged commit b70c78e into ecsyjs:dev Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants