Class PlayableObject

Hierarchy

Constructors

Methods

Properties

position: { x: number; y: number }

Type declaration

  • x: number
  • y: number
rotation: { target: null | number; current: number; direction: null | "clockwise" | "counterclockwise"; lastAction: number }

Type declaration

  • target: null | number
  • current: number
  • direction: null | "clockwise" | "counterclockwise"
  • lastAction: number
move: { target: number; current: number }

Type declaration

  • target: number
  • current: number

Generated using TypeDoc