public SpriteBatch Wash() { this.name = Name.Uninitialized; this.priority = 0; this.poBatchNodeManager = new SpriteBatchNodeManager(); return(this); }
public static void remove(SpriteBatchNode targetNode) { Debug.Assert(sbmInstance != null); Debug.Assert(targetNode != null); SpriteBatchNodeManager sbnMan = targetNode.getSpriteBatchNodeMan(); Debug.Assert(sbnMan != null); sbnMan.remove(targetNode); }
public void setSprite(Sprite.SpriteName mSpriteName, SpriteBatchNodeManager mSbManager) { Sprite sprite = (Sprite)SpriteManager.find(mSpriteName); Debug.Assert(sprite != null); Debug.Assert(mSbManager != null); this.cSpriteBase = sprite; this.cSBNodeMan = mSbManager; }
public void setSpriteBox(SpriteBox.SpriteBoxName spriteBox, SpriteBatchNodeManager mSbManager) { SpriteBox sprBox = (SpriteBox)SpriteBoxManager.find(spriteBox); Debug.Assert(sprBox != null); Debug.Assert(mSbManager != null); this.cSpriteBase = sprBox; this.cSBNodeMan = mSbManager; }
public void setSpriteBase(SpriteBase mSpriteBase, SpriteBatchNodeManager mSbManager) { Debug.Assert(mSpriteBase != null); Debug.Assert(mSbManager != null); this.cSpriteBase = mSpriteBase; this.cSBNodeMan = mSbManager; cSpriteBase.setSpriteBatchNode(this); }
public SpriteBatchNode() : base() { this.cSpriteBase = null; cSBNodeMan = null; }
public SpriteBatch() : base() { this.spriteBatchName = SpriteBatchName.Uninitialized; this.cSBNodeManager = new SpriteBatchNodeManager(); }
// Constructor. Only be called when manager adding new reserved nodes. public SpriteBatch() { this.name = SpriteBatch.Name.Uninitialized; poBatchNodeManager = new SpriteBatchNodeManager(); }