Example #1
0
        public static CozySprite Create(CozyTexture texture)
        {
            var sp = new CozySprite();

            if (!sp.InitWithTexture(texture))
            {
                return(null);
            }
            return(sp);
        }
Example #2
0
 public static CozySprite Create(CozyTexture texture)
 {
     var sp = new CozySprite();
     if(!sp.InitWithTexture(texture))
     {
         return null;
     }
     return sp;
 }