UNPKG

@osbjs/components

Version:
21 lines (20 loc) 671 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Particles = void 0; const osbjs_1 = require("@osbjs/osbjs"); class Particles extends osbjs_1.Component { constructor(osbPath, folderPath, startTime, endTime, options) { super(); this.name = 'Particles'; this.options = { scale: 1, origin: osbjs_1.Origin.Center, rotationAngle: 0, additive: false, spawnOrigin: new osbjs_1.OsbVector2(854, 0), particleCount: 32, }; this.options = { ...this.options, ...options }; } } exports.Particles = Particles;