addNamespace("Tgbus.FlashGame");
Tgbus.FlashGame.GamePlay_class = Class.create();
Tgbus.FlashGame.GamePlay_class.prototype = (new AjaxPro.Request()).extend({
	SetReview: function(gameId, inpStr, userName, callback) {
		return this.invoke("SetReview", {"gameId":gameId, "inpStr":inpStr, "userName":userName}, callback);
	},
	SetMark: function(gameId, value, callback) {
		return this.invoke("SetMark", {"gameId":gameId, "value":value}, callback);
	},
	SetPlayMark: function(gameId, score, code, callback) {
		return this.invoke("SetPlayMark", {"gameId":gameId, "score":score, "code":code}, callback);
	},
	initialize: function() {
		this.url = "/ajaxpro/Tgbus.FlashGame.GamePlay,Tgbus.FlashGame.ashx";
	}
})
Tgbus.FlashGame.GamePlay = new Tgbus.FlashGame.GamePlay_class();

