export function LighthouseLamp(x, y) { return [ new Components.Position(x, y), new Components.DirectionalLight(30, 4, d2r(90), d2r(30), bit(LIGHTHOUSE_CHANNEL), rgba32FloatAlpha(255, 255, 0, 0.2)), new Components.TurnTaker(new Lighthouse()), ]; }
export function MuzzleFlash(x, y, direction) { const WIDTH = d2r(60); return [ new Components.Position(x, y), new Components.DirectionalLight(30, 4, direction, WIDTH), new Components.Flash(), ]; }