Jump to content

Phaser.Signal boundDispatch


Recommended Posts


Phaser.Signal.boundDispatch isn't working properly for me.

var signal = new Phaser.Signal();
var dispatch = signal.boundDispatch;

console.log(dispatch);  // true
dispatch('hello');  // Uncaught TypeError: dispatch is not a function


I think this line should be the following:

_boundDispatch: false,

So that the initializer properly creates the closure.


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...