mirror of
https://github.com/wassname/phaser.git
synced 2026-07-11 00:40:20 +08:00
Tilemap Collision in and working :) Needs testing against Groups now.
This commit is contained in:
+4
-2
@@ -440,7 +440,8 @@ Phaser.Math = {
|
||||
|
||||
for (var i = 1, max = 0, len = arguments.length; i < len; i++)
|
||||
{
|
||||
if (arguments[max] < arguments[i]) {
|
||||
if (arguments[max] < arguments[i])
|
||||
{
|
||||
max = i;
|
||||
}
|
||||
}
|
||||
@@ -459,7 +460,8 @@ Phaser.Math = {
|
||||
|
||||
for (var i =1 , min = 0, len = arguments.length; i < len; i++)
|
||||
{
|
||||
if (arguments[i] < arguments[min]){
|
||||
if (arguments[i] < arguments[min])
|
||||
{
|
||||
min = i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user