未捕获的TypeError:无法读取null移相器的属性“add”

时间:2015-12-28 12:02:50

标签: javascript undefined phaser-framework

下面是我的代码的简化版本,其中菜单发生了。我一直收到这个错误。当我点击播放按钮时会发生这种情况:

select FK, Count(1) as active_count, <missing> as total_count from table where status = 1;

我知道那些当我检查精灵游戏是否被点击但却无法解决问题。

这是图片: enter image description here

JsFiddle Format

Uncaught TypeError: Cannot read property 'add' of null