Added ancientTrait to Card; updated README
This commit is contained in:
4
src/interfaces/ancientTrait.ts
Normal file
4
src/interfaces/ancientTrait.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export interface IAncientTrait {
|
||||
name: string;
|
||||
text: string;
|
||||
}
|
||||
@ -1,10 +1,12 @@
|
||||
import { IAbility } from '../interfaces/ability';
|
||||
import { IAncientTrait } from './ancientTrait';
|
||||
import { IAttack } from '../interfaces/attack';
|
||||
import { IResistance } from '../interfaces/resistance';
|
||||
import { IWeakness } from '../interfaces/weakness';
|
||||
|
||||
export interface ICard {
|
||||
ability: IAbility;
|
||||
ancientTrait?: IAncientTrait;
|
||||
artist: string;
|
||||
attacks: IAttack[];
|
||||
convertedRetreatCost: number;
|
||||
|
||||
@ -10,4 +10,5 @@ export interface ISet {
|
||||
symbolUrl: string;
|
||||
totalCards: number;
|
||||
updatedAt: string;
|
||||
updatedSince: string;
|
||||
}
|
||||
Reference in New Issue
Block a user