mirror of
https://github.com/wassname/phaser.git
synced 2026-06-30 16:40:20 +08:00
n-way collision checks and onBeginContact and onEndContact done and working. Also fixed issue in TweenManager.removeAll.
This commit is contained in:
@@ -265,3 +265,13 @@ if (typeof Function.prototype.bind != 'function') {
|
||||
};
|
||||
})();
|
||||
}
|
||||
|
||||
/**
|
||||
* A polyfill for Array.isArray
|
||||
*/
|
||||
if (!Array.isArray) {
|
||||
Array.isArray = function (arg) {
|
||||
return Object.prototype.toString.call(arg) == '[object Array]';
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user