Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 20x 21x | import { isBeatorajaSkinIndicator } from '../../browser/drop.ts';
import type { SkinFamily } from '../family.ts';
/**
* beatoraja skin family. Theme files are identified by the `.luaskin` extension OR a `.json` file under a `skin/`
* folder (the standard `beatoraja/skin/<name>/…` layout). The two-pronged predicate matches `isBeatorajaSkinIndicator`
* exactly — see `browser/drop.ts` for the rationale (a stray top-level `info.json` mustn't be misclassified as a
* theme).
*
* Theme parsing is driven by `loadBeatorajaThemeFromFiles` in `skin/beatoraja/theme.ts`, which produces a
* `BeatorajaThemeBundle`. The select, decide, play and result screens are `createSelectScene`, `createDecideScene`,
* `createPlayScene` and `createResultScene` with a beatoraja kit (`loadBeatorajaSceneKit`).
*/
export const beatorajaSkinFamily: SkinFamily = {
id: 'beatoraja',
label: 'beatoraja',
matchesThemeFile(path) {
return isBeatorajaSkinIndicator(path);
},
};
|