import { Player } from '../../Player' ; import { PreludeCard } from './PreludeCard' ; import { IProjectCard } from '../IProjectCard' ; import { CardName } from '../../CardName' ; import { CardRenderer } from '../render/CardRenderer' ; import { Units } from '../../Units' ; export class MetalsCompany extends PreludeCard implements IProjectCard { constructor ( ) { super ( { name : CardName . METALS_COMPANY , productionBox : Units . of ( { megacredits : 1 , steel : 1 , titanium : 1 } ) , metadata : { cardNumber : 'P20' , renderData : CardRenderer . builder ( ( b ) => { b . production ( ( pb ) => pb . megacredits ( 1 ) . steel ( 1 ) . titanium ( 1 ) ) ; } ) , description : 'Increase your MC, steel and titanium production 1 step.' , } , } ) ; } public play ( player ) { player . adjustProduction ( this . productionBox ) ; return undefined ; } }