it was squared

This commit is contained in:
minjaesong
2022-01-13 12:53:33 +09:00
parent f1d8850196
commit a7357c00a9

View File

@@ -21,7 +21,7 @@ open class DroppedItem : ActorWithBody {
companion object {
const val NO_PICKUP_TIME = 1f
const val MERGER_RANGE = 8.0 * TILE_SIZED
const val MERGER_RANGE = 8.0 * TILE_SIZED // the wanted distance, squared
}
var itemID: ItemID = ""; private set