Beispiel #1
0
 //获取开始爆炸区块
 public static BombArea GetStartBombArea()
 {
     m_CurBombRoad = BombRoad.GoldStart;
     if (m_BombRoad.ContainsKey(m_CurBombRoad) == true)
     {
         return(m_BombRoad [m_CurBombRoad]);
     }
     else
     {
         return(null);
     }
 }
Beispiel #2
0
    //获取下一个爆炸区块
    public static BombArea GetNextBombArea()
    {
        int value = (int)m_CurBombRoad;

        value++;
        m_CurBombRoad = (BombRoad)value;
        if (m_BombRoad.ContainsKey(m_CurBombRoad) == true)
        {
            return(m_BombRoad [m_CurBombRoad]);
        }
        else
        {
            return(null);
        }
    }