コード例 #1
0
 public void clear(ArrayList<Sprite> mSprites) {
   final Engine.EngineLock engineLock = engine.getEngineLock();
   engineLock.lock();
   for (Sprite s : mSprites) detach(s);
   engineLock.unlock();
 }
コード例 #2
0
 public void clear(Sprite s) {
   final Engine.EngineLock engineLock = engine.getEngineLock();
   engineLock.lock();
   detach(s);
   engineLock.unlock();
 }
コード例 #3
0
 public void clear(Sprite[][] mSprites) {
   final Engine.EngineLock engineLock = engine.getEngineLock();
   engineLock.lock();
   for (Sprite[] ss : mSprites) for (Sprite s : ss) detach(s);
   engineLock.unlock();
 }
コード例 #4
0
 public void clear(Sprite s, Sprite fromSprite) {
   final Engine.EngineLock engineLock = engine.getEngineLock();
   engineLock.lock();
   detach(s, fromSprite);
   engineLock.unlock();
 }