mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 21:44:05 +09:00
removed localised and unsynced 'scale' and 'mass' for ActorWithBody, they are now synced with actorvalue
Former-commit-id: d655b499c333011b8e46235fe3312617f673a6ad Former-commit-id: 6cc9e6aabd69f7ba3e46e6dcba404c41c6130652
This commit is contained in:
@@ -47,7 +47,7 @@ class Hitbox(x1: Double, y1: Double, width: Double, height: Double) {
|
||||
* *
|
||||
* @param height
|
||||
*/
|
||||
operator fun set(x1: Double, y1: Double, width: Double, height: Double) {
|
||||
fun set(x1: Double, y1: Double, width: Double, height: Double) {
|
||||
hitboxStart = Point2d(x1, y1)
|
||||
hitboxEnd = Point2d(x1 + width, y1 + height)
|
||||
this.width = width
|
||||
|
||||
Reference in New Issue
Block a user