import { DeckCard } from './deck-card' ; export class VisualDeckCard extends DeckCard { readonly highlight : 'dim' | 'normal' | 'in-hand' ; readonly cardClass ? : string ; readonly totalQuantity : number ; readonly creatorCardIds ? : readonly string [ ] = [ ] ; readonly lastAffectedByCardIds ? : readonly string [ ] = [ ] ; readonly isMissing ? : boolean ; constructor ( ) { super ( ) ; } public static create ( base = { } as VisualDeckCard ) { return Object . assign ( new VisualDeckCard ( ) , base ) ; } }