added Position model

This commit is contained in:
dhain 2022-11-29 10:53:23 +01:00
parent c35a12134e
commit 59523f4a41

View file

@ -0,0 +1,20 @@
class Position {
private _x: number;
private _y: number;
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;
}
}