SwingInput beta
Interface of @v12-engine/editor
ts
export interface SwingInputWhat a swing is worked out from
Members
base
ts
base: number;The type's own attacks a second (its attackSpeed)
damagePoint
ts
damagePoint: number;Seconds from the start of the swing to the blow, at the type's own attack speed (AttackDef.damagePoint)
hitAt
ts
hitAt?: number;Where the clip's blow is, 0..1 (its hit mark: hitAtOf)
length
ts
length?: number;The clip's seconds at its own pace, where it plays one
lookSpeed
ts
lookSpeed?: number | 'fixed';How fast the look plays its clip (AttackLook.speed): a factor on the fitted pace, or its own pace
recovery
ts
recovery?: number;Seconds it is held after the blow, at the type's own attack speed (AttackDef.recovery)
speed
ts
speed: number;The attacks a second it is seen at: base for as it is made, more for a unit made faster