arx-level-generator
Version:
A tool for creating Arx Fatalis maps
21 lines (20 loc) • 863 B
TypeScript
import { Expand } from 'arx-convert/utils';
import { Entity, EntityConstructorPropsWithoutSrc } from '../../Entity.js';
/**
* @see https://wiki.arx-libertatis.org/Category:Runes
*/
type RuneVariant = 'aam' | 'cetrius' | 'comunicatum' | 'cosum' | 'folgora' | 'fridd' | 'kaom' | 'mega' | 'morte' | 'movis' | 'nhi' | 'rhaa' | 'spacium' | 'stregum' | 'taar' | 'tempus' | 'tera' | 'vista' | 'vitae' | 'yok';
type RuneConstructorProps = Expand<EntityConstructorPropsWithoutSrc & {
/**
* default value is true when Entity is root
*/
arxTutorialEnabled?: boolean;
}>;
export declare class Rune extends Entity {
private propRuneName;
private propArxTutorialEnabled;
constructor(variant: RuneVariant, { arxTutorialEnabled, ...props }?: RuneConstructorProps);
get variant(): RuneVariant;
set variant(value: RuneVariant);
}
export {};