Formatted files, added types and updated class diagram

This commit is contained in:
dhain 2022-12-06 10:36:14 +01:00
parent 4d22976621
commit f272d3a44f
6 changed files with 52 additions and 32 deletions

View file

@ -2,6 +2,7 @@ class Position {
private _x: number;
private _y: number;
//region Getter & Setter
get x(): number {
return this._x;
}
@ -17,6 +18,7 @@ class Position {
set y(value: number) {
this._y = value;
}
//endregion
constructor(x: number, y: number) {
this._x = x;