public static void Remove(Glyph pNode) { Debug.Assert(pNode != null); GlyphManager pMan = GlyphManager.getSingleton(); pMan.genericRemove(pNode); }
public static Glyph Add(Glyph.Name name, int key, Texture.TextureName textName, float x, float y, float width, float height) { GlyphManager pMan = GlyphManager.getSingleton(); Glyph pNode = (Glyph)pMan.genericAdd(); Debug.Assert(pNode != null); pNode.setAll(name, key, textName, x, y, width, height); return(pNode); }
public static Glyph Find(Glyph.Name name, int key) { GlyphManager texManInst = GlyphManager.getSingleton(); Debug.Assert(texManInst != null); Glyph pseudoTex = texManInst.refGlyph; Debug.Assert(pseudoTex != null); pseudoTex.glyphName = name; pseudoTex.key = key; Glyph targetTex = (Glyph)texManInst.genericFind(pseudoTex); return(targetTex); }