import { GameGetSubmitResultData } from '../../libs/tw/data/game/submit/GameGetSubmitResultData';
import { GetInfoData } from '../../libs/tw/data/game/getInfo/GetInfoData';
import Panel from "../views/Panel";
import MItem from '../components/MItem';
import PanelCtrl from '../ctrls/panelCtrl';
import { ModuleTypes } from '../types/sceneTypes';
import { NetPromise } from '../NetPromise';
import { DataManager } from '../../libs/tw/manager/DataManager';
import { NetName } from '../../libs/tw/enum/NetName';
import { GDispatcher } from '../../libs/tc/util/GDispatcher';
import { NetBuried } from '../NetBuried';

export default class RedItem extends MItem {

    public amount:eui.Label;
    public time:eui.Label;
    
    constructor() {
        super();
    }
   
    dataChanged(){
        this.amount.text=this.data.amount
        this.time.text=this.data.time
      
       
    }

    onSkinComplete(){
        //去完成按钮
    }

}