merging dropped items when they tightly overlap

This commit is contained in:
minjaesong
2022-01-13 11:14:21 +09:00
parent 1060d96364
commit f1d8850196
4 changed files with 16 additions and 6 deletions

View File

@@ -36,6 +36,8 @@ import java.util.function.Consumer
*/
open class IngameInstance(val batch: SpriteBatch, val isMultiplayer: Boolean = false) : TerrarumGamescreen {
var WORLD_UPDATE_TIMER = Random().nextInt(1020) + 1; protected set
open protected val actorMBRConverter = object : MBRConverter<ActorWithBody> {
override fun getDimensions(): Int = 2
override fun getMin(axis: Int, t: ActorWithBody): Double =