mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
31 lines
576 B
JavaScript
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
|
|
}
|
|
}
|