123456789101112131415161718192021222324252627 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace GFGGame
- {
- public class BonusController
- {
- public static void TryShowBonusList(int[][] bonusInfos)
- {
- if (bonusInfos != null && bonusInfos.Length > 0)
- {
- List<ItemData> bonusList = ItemUtil.CreateItemDataList(bonusInfos);
- ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
- }
- }
- public static void TryShowBonusList(List<ItemData> bonusList)
- {
- if(bonusList != null && bonusList.Count > 0)
- {
- ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
- }
- }
- }
- }
|