removeCollision method

void removeCollision(
  1. List<int> sprite
)

Implementation

void removeCollision(List<int> sprite){
  sprite.sort();
  for(int i = sprite.length-1; i >= 0;i--){
    collisions.removeAt(sprite[i]);
    objectTappedOn = [];
    currentSize = null;
  }
}