/** Get the unique instance of the class. */ public static TextureFactory getInstance() { if (fac == null) fac = new TextureFactory(1.0f); return fac; }
/** Get the unique instance of the class. */ public static TextureFactory getInstance() { if (fac == null) fac = new TextureFactory(1.0f); return fac; }
/** Get the unique instance of the class, setting the scale of the pattern. * TODO : scale is not handled for now */ public static TextureFactory getInstance(float scale) { if (fac == null) fac = new TextureFactory(scale); return fac; }
/** Get the unique instance of the class, setting the scale of the pattern. * TODO : scale is not handled for now */ public static TextureFactory getInstance(float scale) { if (fac == null) fac = new TextureFactory(scale); return fac; }