MakeWorldTypeFromIndex() public static method

public static MakeWorldTypeFromIndex ( int idx ) : WorldType
idx int
return WorldType
Beispiel #1
0
        private void Init()
        {
            int i = 0;

            foreach (var world in World)
            {
                world.Type = TypeHelper.MakeWorldTypeFromIndex(i++);
            }
        }