setTurnAnims

fun setTurnAnims(turnLeftAnim: Int?, turnRightAnim: Int?)

Sets the turn left and turn right animations of this NPC.

Parameters

turnLeftAnim

the animation used when the NPC turns to the left, or null if turn left animation should be skipped

turnRightAnim

the animation used when the NPC turns to the right, or null if turn right animation should be skipped.