#ifndef _ROBOT_LOGIC_FRAME_H_INCLUDE_
#define _ROBOT_LOGIC_FRAME_H_INCLUDE_

#include "ccommon.h"

class Player;
class Room;
class CMolMessageIn;

class RobotLogicFrame
{
public:
	/// 캯
	RobotLogicFrame() {}
	/// 
	virtual ~RobotLogicFrame() {}

	/// õǰ
	virtual void SetGamePlayer(Player* pPlayer,Room* pRoom) = 0;

	/// ڴû׼Ϣ
	virtual void OnProcessPlayerReadyMes(int playerId) = 0;
	/// ڴûʼϷʼϢ
	virtual void OnProcessPlayerGameStartMes() = 0;
	/// ڴûϷϢ
	virtual void OnProcessPlayerGameOverMes(void) = 0;
	/// ڴûϷϢ
	virtual void OnProcessPlayerRoomMes(Json::Value &mes) = 0;
	/// û뷿Ϣ
	virtual void OnProcessEnterRoomMsg(int playerId) = 0;
	/// û뿪Ϣ
	virtual void OnProcessLeaveRoomMsg(int playerId) = 0;
	/// ûϢ
	virtual void OnProcessReEnterRoomMes(int playerId) = 0;
	/// ûϢ
	virtual void OnProcessOfflineRoomMes(int playerId) = 0;
	/// ûʱϢ
	virtual void OnProcessTimerMsg(int timerId,int curTimer) = 0;
};

#endif
