예제 #1
0
        public bool isSprite(string strSprite)
        {
            if (strSprite == null)
            {
                return(false);
            }

            CSprite sprite = new CSprite();

            return(mapTexture.TryGetValue(strSprite, out sprite));
        }
예제 #2
0
 public void AddSprite(string name, CSprite sprite)
 {
     mapTexture.Add(name, sprite);
 }