예제 #1
0
 // static hook for the ChampionSpawn code to update the puzzle state
 public static void Update(ChampionSpawn altar)
 {
     if (null != m_Instance)
     {
         if (m_Instance.Deleted)
         {
             m_Instance = null;
         }
         else if (m_Instance.ChampionAltar == altar)
         {
             m_Instance.UpdatePuzzleState(altar);
         }
     }
 }