removeObject method
Implementation
void removeObject(int location,[bool clearTap = true]){
levelInfo[selectedLevel].objects.removeAt(location);
currentSize = null;
tapLocation = null;
if(clearTap){
objectTappedOn = [];
}
updateMinMap = true;
update();
}