using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(menuName = "GameConfig")]
public class GameConfig : ConfigBase<GameConfig>
{
    public List<int> LevelSort;
    public List<LevelData> Levels;
}

[Serializable]
public class LevelData
{
    public string LevelName;//only for editor display
    public string LevelColorCode;
    public int SlotCount;
    public List<EndingData> Endings;
}

[Serializable]
public class EndingData
{
    public string EndingName;//only for editor display
    public bool IsGoodEnding;
    public string EndingCode;//eg: 12X;132;
}