arx-level-generator
Version:
A tool for creating Arx Fatalis maps
19 lines • 437 B
JavaScript
import { ScriptProperty } from '../ScriptProperty.js';
/**
* A ScriptProperty for specifying how fast an Entity can move.
*
* Affects all animations, not just movement.
*
* @extends ScriptProperty
*
* default value is 1
*/
export class Speed extends ScriptProperty {
toString() {
return `set_speed ${this.value}`;
}
static get default() {
return new Speed(1);
}
}
//# sourceMappingURL=Speed.js.map