public Spriteset(Document doc, string strName, int id, string strDesc, Palette pal) { m_doc = doc; m_strName = strName; m_id = id; m_strDesc = strDesc; m_palette = pal; m_fIsBackground = pal.IsBackground; m_Maps = new List <Map>(); if (m_doc.Owner != null) { m_winSpriteset = new SpritesetForm(m_doc.Owner, this);; m_winSprite = new SpriteForm(m_doc.Owner, this, CurrentSprite); } }
public Spriteset(Document doc, string strName, int id, string strDesc, Palette pal) { m_doc = doc; m_strName = strName; m_id = id; m_strDesc = strDesc; m_palette = pal; m_fIsBackground = pal.IsBackground; m_Maps = new List<Map>(); if (m_doc.Owner != null) { m_winSpriteset = new SpritesetForm(m_doc.Owner, this); ; m_winSprite = new SpriteForm(m_doc.Owner, this, CurrentSprite); } }