const PerkIds = { } ; export class Perk { public id : string ; public name : string ; constructor ( id , name ) { this . id = id ; this . name = name ; PerkIds [ id ] = this ; } } export namespace Perks { export const Virility = new Perk ( "vir0" , "Virility" ) ; export const Fertility = new Perk ( "fer0" , "Fertility" ) ; export const Breeder = new Perk ( "bre0" , "Breeder" ) ; export const Fleetfoot = new Perk ( "flee0" , "Fleetfoot" ) ; } export { PerkIds } ;