Skip to content

Documentation / @debuffjp/core / MotionSource

Type Alias: MotionSource ​

MotionSource = () => Iterable<Positioned | readonly Positioned[]>

Defined in: ../debuff/packages/core/src/smooth.ts:10

What smoothMotion reads each step: objects, or arrays of them (one level, so [player, enemies] works).

Returns ​

Iterable<Positioned | readonly Positioned[]>