clear method

void clear()

Implementation

void clear(){
  sprites = [];
  isClicked = false;
  objectTappedOn = [];
  prevObjectTappedOn = [];
}