WIP: No idea what exactly i did over those past 2 days
This commit is contained in:
@@ -2,6 +2,11 @@ class Vector2 {
|
||||
public x: number;
|
||||
public y: number;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param x
|
||||
* @param y
|
||||
*/
|
||||
constructor(x?: number, y?: number);
|
||||
constructor(v?: Vector2);
|
||||
constructor(x: Vector2 | number = 0, y: number = 0) {
|
||||
|
||||
Reference in New Issue
Block a user