import { ICard } from '../cards/ICard' ; import { Message } from '../Message' ; import { PlayerInput } from '../PlayerInput' ; import { PlayerInputTypes } from '../PlayerInputTypes' ; export class SelectCard < T extends ICard > implements PlayerInput { public inputType : PlayerInputTypes = PlayerInputTypes . SELECT_CARD ; constructor ( public title , public buttonLabel = 'Save' , public cards , public cb , public maxCardsToSelect = 1 , public minCardsToSelect = 1 , public selectBlueCardAction = false , public enabled ? , public played = true , public showOwner ? ) { this . buttonLabel = buttonLabel ; } }