mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-27 02:34:45 +08:00
WIP
This commit is contained in:
@@ -10,13 +10,13 @@ export default class RotatorEntity extends IEntity {
|
||||
P: NumberEntity.withDefault(),
|
||||
Y: NumberEntity.withDefault(),
|
||||
}
|
||||
static grammar = Grammar.createEntityGrammar(this, false)
|
||||
static grammar = Grammar.createEntityGrammar(this).label("RotatorEntity")
|
||||
|
||||
constructor(values) {
|
||||
super(values)
|
||||
/** @type {NumberEntity} */ this.R
|
||||
/** @type {NumberEntity} */ this.P
|
||||
/** @type {NumberEntity} */ this.Y
|
||||
/** @type {InstanceType<typeof RotatorEntity.attributes.R>} */ this.R
|
||||
/** @type {InstanceType<typeof RotatorEntity.attributes.P>} */ this.P
|
||||
/** @type {InstanceType<typeof RotatorEntity.attributes.Y>} */ this.Y
|
||||
}
|
||||
|
||||
getRoll() {
|
||||
|
||||
Reference in New Issue
Block a user