import { PlayerPetOV } from "../../consts/API";

//宠物选择
export interface PlayerPetOVSelect extends PlayerPetOV{

    //是否选择
    isSelect:boolean;

}

export class PetOV{

    static PlayerPetOVSelects(pets:PlayerPetOV[]):PlayerPetOVSelect[]{
        return pets.map(pet => ({...pet,isSelect:false}))
    }

}

