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