if(typeof Tgbus == "undefined") Tgbus={};
if(typeof Tgbus.FlashGame == "undefined") Tgbus.FlashGame={};
Tgbus.FlashGame.GamePlay_class = function() {};
Object.extend(Tgbus.FlashGame.GamePlay_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SetReview: function(gameId, inpStr, iptRandomCode) {
		return this.invoke("SetReview", {"gameId":gameId, "inpStr":inpStr, "iptRandomCode":iptRandomCode}, this.SetReview.getArguments().slice(3));
	},
	GetValidCode: function() {
		return this.invoke("GetValidCode", {}, this.GetValidCode.getArguments().slice(0));
	},
	SetMark: function(gameId, value) {
		return this.invoke("SetMark", {"gameId":gameId, "value":value}, this.SetMark.getArguments().slice(2));
	},
	SetPlayMark: function(gameId, score, code) {
		return this.invoke("SetPlayMark", {"gameId":gameId, "score":score, "code":code}, this.SetPlayMark.getArguments().slice(3));
	},
	url: '/ajaxpro/Tgbus.FlashGame.GamePlay,Tgbus.FlashGame.ashx'
}));
Tgbus.FlashGame.GamePlay = new Tgbus.FlashGame.GamePlay_class();

