/* ISLE SLINGERS -- levels/helpers/index.js (submodule: helpers) * RC-375D84 S-2: block/enemy constructor helpers + SLING anchor, split from * the original js/levels.js. Installs into the shared levels scope `L`; * js/levels/index.js loads it first, then the level-N data submodules. */ (function (root, factory) { var part = factory(); if (typeof module !== 'undefined' && module.exports) module.exports = part; else (root.ISLE_LEVEL_PARTS = root.ISLE_LEVEL_PARTS || []).push(part); })(typeof globalThis !== 'undefined' ? globalThis : this, function () { 'use strict'; return function (L) { L.wood = function (x, y, w, h) { return { x: x, y: y, w: w, h: h, mat: 'wood' }; }; L.ice = function (x, y, w, h) { return { x: x, y: y, w: w, h: h, mat: 'ice' }; }; L.stone = function (x, y, w, h) { return { x: x, y: y, w: w, h: h, mat: 'stone' }; }; L.mogg = function (x, y) { return { x: x, y: y, kind: 'mogg' }; }; L.grum = function (x, y) { return { x: x, y: y, kind: 'grum' }; }; L.king = function (x, y) { return { x: x, y: y, kind: 'king' }; }; L.SLING = { x: 260, y: 745 }; }; });