Beispiel #1
0
 public void checkMatchesAndDoEffects()
 {
     List<Match> matches = table.checkForMatches();
     foreach (Match match in matches) {
         MatchLine1 matchEffect = new MatchLine1();
         matchEffect.Initialize(match,1f);
         effectsManager.addNewEffect(matchEffect);
     }
 }
Beispiel #2
0
    public void checkMatchesAndDoEffects()
    {
        List <Match> matches = table.checkForMatches();

        foreach (Match match in matches)
        {
            MatchLine1 matchEffect = new MatchLine1();
            matchEffect.Initialize(match, 1f);
            effectsManager.addNewEffect(matchEffect);
        }
    }