mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
Tilemap collision working but needs speeding up
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user