public override void Execute(float deltaTime) { SpriteBatch pSB_Aliens = SpriteBatchMan.Find(SpriteBatch.Name.Aliens); SpriteNodeMan pNodeMan = pSB_Aliens.GetSpriteNodeMan(); pNodeMan.Remove(this.pExplosion.pProxySprite.GetSpriteNode()); }
public SpriteBatch() : base() { this.name = Name.Uninitialized; this.pSpriteNodeMan = new SpriteNodeMan(); this.key = -1; this.bRenderEnabled = true; }
public void Initialize(SpriteBatch.Name _name, int _key, bool _bRenderEnabled, int _mNumReserved = 5, int _nGrowthSize = 2) { this.name = _name; this.key = _key; this.bRenderEnabled = _bRenderEnabled; this.pSpriteNodeMan = new SpriteNodeMan(); this.pSpriteNodeMan.Initialize(_mNumReserved, _nGrowthSize); }
public void Wash() { name = Name.Uninitialized; pSpriteNodeMan = null; }