Files
ueblueprint/js/entity/VectorEntity.js
2023-03-23 16:24:32 +01:00

31 lines
579 B
JavaScript

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