UNPKG

html2d

Version:

A Typescript game engine to build HTML5 games for the web using webcomponents.

10 lines (8 loc) 140 B
export class Vector2D { x: number y: number constructor(x = 0, y = 0) { this.x = x this.y = y } }