mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
Physics stuff Float -> Double
Former-commit-id: 54ccee75769691aa6aaa2416767bd15270f63347 Former-commit-id: 61e892434f48adf11e3ca49b60928a930fd5cde9
This commit is contained in:
@@ -23,9 +23,9 @@ class PhysTestBall : ActorWithBody {
|
||||
override fun drawBody(gc: GameContainer, g: Graphics) {
|
||||
g.color = color
|
||||
g.fillOval(
|
||||
hitbox.posX,
|
||||
hitbox.posY,
|
||||
hitbox.width,
|
||||
hitbox.height)
|
||||
hitbox.posX.toFloat(),
|
||||
hitbox.posY.toFloat(),
|
||||
hitbox.width.toFloat(),
|
||||
hitbox.height.toFloat())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user