igir
Version:
🕹 A zero-setup ROM collection manager that sorts, filters, extracts or archives, patches, and reports on collections of any size on any OS.
23 lines (22 loc) • 740 B
TypeScript
import Game, { GameProps } from './game.js';
export interface SingleValueGameProps extends Omit<GameProps, 'regions' | 'languages' | 'categories'> {
region?: string;
language?: string;
category?: string;
}
/**
* A {@link Game} that
*/
export default class SingleValueGame extends Game implements SingleValueGameProps {
readonly region?: string;
readonly language?: string;
readonly category?: string;
constructor(props: SingleValueGameProps);
getRegion(): string | undefined;
getRegions(): string[];
getLanguage(): string | undefined;
getLanguages(): string[];
getCategory(): string | undefined;
getCategories(): string[];
withProps(props: SingleValueGameProps): SingleValueGame;
}