Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface KnockbackOptions

Options for effect knockback in target

Hierarchy

  • KnockbackOptions

Properties

direction

direction: string

Direction with enemy hit receive 'left', 'right', 'up', 'down'

Optional movement

movement: boolean

true hability velocity.movement in animation knockback

time

time: number

duration for value in seconds

value

value: number

base value for all time duration in absolute values (x/y)

Generated using TypeDoc