Renames pointQuickDist in GameMath

This commit is contained in:
Viktor Lidholt
2015-09-25 13:12:01 -07:00
parent 1836ca6172
commit 0cb811ef06
3 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ abstract class GameObject extends Node {
..setStyle(sky.PaintingStyle.stroke);
bool collidingWith(GameObject obj) {
return (GameMath.pointQuickDist(position, obj.position)
return (GameMath.distanceBetweenPoints(position, obj.position)
< radius + obj.radius);
}