UNPKG

cardation

Version:

fundation of card games, card model

17 lines (16 loc) 325 B
/** * all Suits should implement this interface */ interface ISuit { getId(): string; /** * in customised classes, h d c s j should be avoided. */ getShortName(): string; getIcon(): string; /** * register itself to the Suit namespace */ register(): void; } export default ISuit;