diff --git a/Engine/src/states/Game.ts b/Engine/src/states/Game.ts index 6bf76d0..7f5824d 100644 --- a/Engine/src/states/Game.ts +++ b/Engine/src/states/Game.ts @@ -472,7 +472,7 @@ export function GameState(ctx: ContextI, selectedAnimal: string, selectedSegment } let p = entity.position let r = entity.shape.getRadius() - let a = { + /*let a = { x: min[0], w: max[0] - min[0], y: min[1], @@ -483,8 +483,7 @@ export function GameState(ctx: ContextI, selectedAnimal: string, selectedSegment w: r, y: p[1], h: r, - } - console.log(a, 'vs', b) + }*/ if ( (Math.abs(min[0] - (p[0]-r)) * 2 < ((max[0]-min[0]) + r)) && (Math.abs(min[1] - (p[1]-r)) * 2 < ((max[1]-min[1]) + r))) {