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

31 lines
576 B
JavaScript

import IEntity from "./IEntity"
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
}
}