Position
class Position : Component()on_npc_option(Assets.Npc.hans.id, "Turn-around") { player -> val position = target.getComponent<Position>() position.facingAngle = (position.facingAngle + 1024) % 2048 player.message("Hans turns around at ${position.tile}.")}lastKnownFacingDirection
Section titled “lastKnownFacingDirection”var lastKnownFacingDirection: DirectionfacingAngle
Section titled “facingAngle”var facingAngle: Intvar tile: Tile3Angles
Section titled “Angles”object Angles