예제 #1
0
    public void SetAnimalType(int type)
    {
        WorldAnimalType worldAnimalType;

        switch (type)
        {
        case 0:
            worldAnimalType = WorldAnimalType.DEFAULT;
            break;

        case 1:
            worldAnimalType = WorldAnimalType.RAW;
            break;

        default:
            worldAnimalType = WorldAnimalType.DEFAULT;
            break;
        }

        ConfigurationData.SetWorldAnimalType(worldAnimalType);
    }