123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- import defaultValue from "../Core/defaultValue.js";
- function ParticleBurst(options) {
- options = defaultValue(options, defaultValue.EMPTY_OBJECT);
-
- this.time = defaultValue(options.time, 0.0);
-
- this.minimum = defaultValue(options.minimum, 0.0);
-
- this.maximum = defaultValue(options.maximum, 50.0);
- this._complete = false;
- }
- Object.defineProperties(ParticleBurst.prototype, {
-
- complete: {
- get: function () {
- return this._complete;
- },
- },
- });
- export default ParticleBurst;
|