Tilemap collision working but needs speeding up

This commit is contained in:
Richard Davey
2013-04-25 20:05:56 +01:00
parent b8ab13fec8
commit b2e1434f5e
1336 changed files with 277759 additions and 6786 deletions
+2 -2
View File
@@ -34,9 +34,9 @@ module Phaser {
if (typeof keycode === 'object')
{
for (var code in keycode)
for (var i:number = 0; i < keycode.length; i++)
{
this._capture[code] = true;
this._capture[keycode[i]] = true;
}
}
else