Skip to content

EntityManager - add events for when an entity is added, removed #55

Description

@Cazka

Why?
Useful when you want to detect changes in the entities.

entityManager.on('add', (entity) => {
  // do something...
});

// events for removed entities is probably less important
entityManager.on('remove', (entity) => {
  // do something...
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions