Options
All
  • Public
  • Public/Protected
  • All
Menu

phaser3-weapon-plugin - v2.2.0

Index

Type aliases

ObjectWithTransform

ObjectWithTransform: ObjectWithXY & { angle?: number; body?: Phaser.Physics.Arcade.Body; rotation?: number }

An object that has x/y coords and optional rotation. Any Sprite-like object.

ObjectWithXY

ObjectWithXY: { x: number; y: number }

Any Object, as long as it has public x and y properties, such as Point, { x: 0, y: 0 }, Sprite, etc

Type declaration

  • x: number
  • y: number

Generated using TypeDoc