import { Title } from "@angular/platform-browser";

export class Obj {

    /**音频材料 */
    audioUrl: String;

    /**图片材料 */
    picUrl: String;

    val: String;
}


export class Exercises extends Obj{

    
    //单词数组
    wordArr = [];

    //单词数组2
    wordArr2 = [];
}

export class Word extends Obj{
    //字体颜色
    fontColor = "#02adf0";
}

export function getDefExercises(){
    let exercises = new Exercises();

    return exercises;
}

export function getDefWord(){
    let word = new Word();

    return word;
}

export function getDefPic(){

    let pic = new Obj();

    return pic;
}