Beispiel #1
0
    /// <summary>
    /// マップの属性によってツボの属性を変える処理
    /// </summary>
    private void AttributePot(MapInfo.Attribute attri)
    {
        switch (attri)
        {
        case MapInfo.Attribute.NORMAL:
            pot_type = PotStatus.PotType.Normal;
            break;

        case MapInfo.Attribute.ICE:
            pot_type = PotStatus.PotType.Ice;
            break;

        case MapInfo.Attribute.THUNDER:
            pot_type = PotStatus.PotType.Thunder;
            break;

        default:
            break;
        }
        pot_ctr.ChangePotType(pot_type);
    }