public override void SetCommand(BattleCommand cmd)
 {
     base.SetCommand(cmd);
     m_cmd    = cmd as CmdExchangeBall;
     m_isOver = false;
 }
Beispiel #2
0
 public void HandleBattleCommand(BattleCommand cmd)
 {
     Debug.Log("HandleBattleCommand: " + cmd.ToString());
     m_battleField.AddCommad(cmd);
 }
Beispiel #3
0
 public ProtoCSBattleCommand(BattleCommand cmd) : this()
 {
     m_data = cmd.CmdData;
 }
 public override void SetCommand(BattleCommand cmd)
 {
     base.SetCommand(cmd);
     m_cmd    = cmd as CmdBallQueue;
     m_isOver = false;
 }
Beispiel #5
0
 public virtual void SetCommand(BattleCommand cmd)
 {
     m_side = cmd.Side;
 }
Beispiel #6
0
 public void AddCommad(BattleCommand cmd)
 {
     m_cmdMgr.AddCommand(cmd);
 }
 public void AddNewMissionList(BattleCommand cmd, BattleMissionBase newMission)
 {
     m_lastQueue = new Queue <BattleMissionBase>();
     m_lastQueue.Enqueue(newMission);
     m_missionList.Add(m_lastQueue);
 }
Beispiel #8
0
 public void AddRequest(BattleCommand command)
 {
     m_requestCommands.Enqueue(command);
 }