Code review 2023-01-10

This commit is contained in:
s-prechtl 2023-01-10 08:45:34 +01:00
parent d748312d66
commit 637a867c7e
9 changed files with 13 additions and 5 deletions

View file

@ -1,32 +0,0 @@
class Position {
private _x: number;
private _y: number;
//region Getter & Setter
get x(): number {
return this._x;
}
set x(value: number) {
this._x = value;
}
get y(): number {
return this._y;
}
set y(value: number) {
this._y = value;
}
//endregion
/**
* Constructs the position
* @param x x-Position
* @param y y-Position
*/
constructor(x: number, y: number) {
this._x = x;
this._y = y;
}
}