public int GetNumOfFavorEffectsInTile(ConstantsScript.TileFavorEffect effect) { IEnumerable<Favor> effectFavors = from favor in favorList where favor.GetTileFavorEffect() == effect select favor; return effectFavors.Count(); }
public void SetTileFavorEffect(ConstantsScript.TileFavorEffect newEffect) { effect = newEffect; }
public void SetTileFavorDirection(ConstantsScript.TileFavorDirection newDirection) { direction = newDirection; }