Files
ueblueprint/js/entity/Vector2DEntity.js
2023-01-06 18:23:56 +01:00

26 lines
467 B
JavaScript

import IEntity from "./IEntity"
export default class Vector2DEntity extends IEntity {
static attributes = {
X: {
value: 0,
expected: true,
},
Y: {
value: 0,
expected: true,
},
}
static {
this.cleanupAttributes(this.attributes)
}
constructor(values) {
super(values)
/** @type {Number} */ this.X
/** @type {Number} */ this.Y
}
}