public static CozySprite Create(string path, Rectangle rect) { var sp = new CozySprite(); if (!sp.InitWithRect(path, rect)) { return null; } return sp; }
public static CozySprite Create(string path) { var sp = new CozySprite(); if(!sp.InitWithFile(path)) { return null; } return sp; }
public static CozySprite Create() { var sp = new CozySprite(); if(!sp.Init()) { return null; } return sp; }
public static CozySprite Create(CozyTexture texture) { var sp = new CozySprite(); if (!sp.InitWithTexture(texture)) { return(null); } return(sp); }
public static CozySprite Create(string path, Rectangle rect) { var sp = new CozySprite(); if (!sp.InitWithRect(path, rect)) { return(null); } return(sp); }
public static CozySprite Create(string path) { var sp = new CozySprite(); if (!sp.InitWithFile(path)) { return(null); } return(sp); }
public static CozySprite Create() { var sp = new CozySprite(); if (!sp.Init()) { return(null); } return(sp); }
public static CozySprite Create(CozyTexture texture) { var sp = new CozySprite(); if(!sp.InitWithTexture(texture)) { return null; } return sp; }