public void Add(string key, TextureAtlasTexture texture) { if (!string.IsNullOrWhiteSpace(key) && texture != null) { _textures.Add(key, texture); } }
public AtlasImage(TextureAtlasTexture texture, bool isEnabled) : base(isEnabled) { Texture = texture; }