Vector2D support

This commit is contained in:
barsdeveloper
2022-12-24 18:46:49 +01:00
parent c3ab6478b0
commit 3df33bfe05
14 changed files with 230 additions and 16 deletions

View File

@@ -0,0 +1,15 @@
import IEntity from "./IEntity"
export default class Vector2DEntity extends IEntity {
static attributes = {
X: Number,
Y: Number,
}
constructor(values) {
super(values)
/** @type {Number} */ this.X
/** @type {Number} */ this.Y
}
}