Esempio n. 1
0
 @Override
 protected boolean onUpdateSpriteBatch() {
   final SmartList<IEntity> children = this.mChildren;
   if (children == null) {
     return false;
   } else {
     final int childCount = children.size();
     for (int i = 0; i < childCount; i++) {
       super.drawWithoutChecks((BaseSprite) children.get(i));
     }
     return true;
   }
 }
Esempio n. 2
0
 public void attachChild(final BaseSprite pBaseSprite) {
   this.assertCapacity();
   this.assertTexture(pBaseSprite.getTextureRegion());
   super.attachChild(pBaseSprite);
 }