mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
20 lines
347 B
JavaScript
20 lines
347 B
JavaScript
import IEntity from "./IEntity"
|
|
|
|
export default class Vector2DEntity extends IEntity {
|
|
|
|
static attributes = {
|
|
X: 0,
|
|
Y: 0,
|
|
}
|
|
|
|
static {
|
|
this.cleanupAttributes(this.attributes)
|
|
}
|
|
|
|
constructor(values) {
|
|
super(values)
|
|
/** @type {Number} */ this.X
|
|
/** @type {Number} */ this.Y
|
|
}
|
|
}
|