export interface IRace { id: Race; name: string; description: string; } export enum Race { HUMAN = "HUMAN", GIANT = "GIANT", TROLL = "TROLL", ELF = "ELF", } export const raceHuman: IRace = { id: Race.HUMAN, name: "Human", description: "Just a normal human", }; export const raceGiant: IRace = { id: Race.GIANT, name: "Giant", description: "Basically a human, but of an extreme size and strength", }; export const raceTroll: IRace = { id: Race.TROLL, name: "Troll", description: "Tall and green creature", }; export const raceElf: IRace = { id: Race.ELF, name: "Elf", description: "A weird creature with pointy ears", }; export const races = [raceHuman, raceGiant, raceTroll, raceElf];