arx-level-generator
Version:
A tool for creating Arx Fatalis maps
20 lines • 553 B
JavaScript
import { Color } from '../Color.js';
import { Light } from '../Light.js';
export const createLight = ({ position, color = Color.white, fallStart = 10, radius, intensity = 1, }) => {
return new Light({
color,
position,
fallStart,
fallEnd: radius,
intensity,
lightData: {
exFlicker: Color.transparent,
exRadius: 0,
exFrequency: 0,
exSize: 0,
exSpeed: 0,
exFlareSize: 0,
},
});
};
//# sourceMappingURL=createLight.js.map