Permalink
Browse files

Minor changes.

  • Loading branch information...
1 parent b631d50 commit d0856cbadeed3e2e7d9ac0e0f654e03574f5b768 Nicolas Gramlich committed May 14, 2012
Showing with 4 additions and 5 deletions.
  1. +4 −5 src/org/andengine/entity/scene/menu/MenuScene.java
@@ -1,7 +1,6 @@
package org.andengine.entity.scene.menu;
import java.util.ArrayList;
-import java.util.Iterator;
import org.andengine.engine.camera.Camera;
import org.andengine.entity.scene.CameraScene;
@@ -85,10 +84,10 @@ public void addMenuItem(final IMenuItem pMenuItem) {
}
public void clearMenuItems() {
- for (int i = mMenuItems.size() - 1; i >= 0; i--) {
- IMenuItem menuitem = mMenuItems.remove(i);
- detachChild(menuitem);
- unregisterTouchArea(menuitem);
+ for (int i = this.mMenuItems.size() - 1; i >= 0; i--) {
+ final IMenuItem menuItem = this.mMenuItems.remove(i);
+ this.detachChild(menuItem);
+ this.unregisterTouchArea(menuItem);
}
}

0 comments on commit d0856cb

Please sign in to comment.