"use strict";
var __reflect = (this && this.__reflect) || function (p, c, t) {
    p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) { 
 function r() { 
 this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 *Created by cuiliqiang on 2018/3/9
 * 猜扑克数据
 */
var Data_1 = require("../../Data");
var GuessPokerData = (function (_super) {
    __extends(GuessPokerData, _super);
    function GuessPokerData() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    GuessPokerData.prototype.update = function (data) {
        if (!data) {
            return;
        }
        _super.prototype.update.call(this, data);
        if (!data.data) {
            return;
        }
        this.isWin = data.data.win;
        this.poker = data.data.poker;
        this.score = data.data.score;
        this.times = data.data.times;
    };
    return GuessPokerData;
}(Data_1.Data));
exports.GuessPokerData = GuessPokerData;
__reflect(GuessPokerData.prototype, "\"c:/Users/duiba/Documents/zhonghe_answer/egret/libs/tw/data/game/guessPoker/GuessPokerData\".GuessPokerData");
//# sourceMappingURL=GuessPokerData.js.map