Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Coordinate

Simple coordinate type used in the game.

note

Can be converted into an instance of Phaser.Math.Vector2 or Phaser.Geom.Point.

Hierarchy

  • Coordinate

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Coordinate(x: number, y: number): Coordinate

Properties

x

x: number

y

y: number

Methods

toPoint

  • toPoint(): Point

toVector2

  • toVector2(): Vector2

Static of

Generated using TypeDoc