Exemplo n.º 1
0
 void OnPlayerDictUpdated(GlyphDictionary dict)
 {
     foreach (var lbv in m_letters)
     {
         Glyph g = dict.get(lbv.m_letter[0]);
         lbv.m_glyph.sprite = GlyphVisuals.Instance.GetVisual(g.VisualId);
     }
 }
Exemplo n.º 2
0
 public bool checkFinished(GlyphDictionary dict)
 {
     foreach (var glyph in Glyphs)
     {
         var playerGuess = dict.get(glyph.Letter);
         if (playerGuess.VisualId != glyph.VisualId)
         {
             return(false);
         }
     }
     return(true);
 }