phaser-group-signals

1.0.1 • Public • Published

Use

group.onChildAdded.add(function (child, parent){
  // {child} was added to {parent}
});
 
group.onChildRemoved.add(function (child, prevParent){
  // {child} was removed from {prevParent}
});
 
group.onChildKilled.add(function (child, parent){
  // {child} was killed
});
 
group.onChildRevived.add(function (child, parent){
  // {child} was revived
});

Readme

Keywords

Package Sidebar

Install

npm i phaser-group-signals

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • samme