Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Vector2

Indexable

[key: string]: any

Index

Constructors

Properties

Methods

Constructors

constructor

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

Properties

x

x: number = 0

y

y: number = 0

Methods

move

  • move(x: number, y: number): void

set

  • set(x: number, y: number): void

toArray

  • toArray(): any[]

Generated using TypeDoc