mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 22:44:04 +09:00
signal switches
This commit is contained in:
@@ -443,7 +443,7 @@ open class ActorWithBody : Actor {
|
||||
|
||||
fun setPosition(pos: Point2d) = setPosition(pos.x, pos.y)
|
||||
fun setPosition(pos: Vector2) = setPosition(pos.x, pos.y)
|
||||
|
||||
fun setPositionFromCentrePoint(pos: Vector2) = setPosition(pos.x, pos.y + (hitbox.height) / 2)
|
||||
|
||||
/**
|
||||
* ONLY FOR INITIAL SETUP
|
||||
|
||||
Reference in New Issue
Block a user