Artemis.Engine.Graphics.SpriteSheet.SpriteSheet C# (CSharp) Method

SpriteSheet() public method

public SpriteSheet ( List texture, Tile>.Dictionary tileGroups ) : System.Collections.Generic
texture List
tileGroups Tile>.Dictionary
return System.Collections.Generic
        public SpriteSheet(List<Texture2D> texture, Dictionary<string, Dictionary<string, Tile>> tileGroups)
        {
            LoadedTextures = texture;
            if (tileGroups.ContainsKey(GLOBAL_TILE_GROUP_NAME))
            {
                GlobalTileGroup = tileGroups[GLOBAL_TILE_GROUP_NAME];
            }
            TileGroups = tileGroups.Where(v => v.Key != GLOBAL_TILE_GROUP_NAME).ToDictionary(v => v.Key, v => v.Value);
        }