clear method

void clear()

Implementation

void clear(){
  allObjectImage = null;
  allTileImage = null;
  levelImage = null;
  selectedLevel = 0;
  selectedTileLocation = 0;
  selectedTile = [];
  tileSets = [];
  selectedObject = null;
  levelInfo = [];
  loadedObjects = [];
  levelInfo = [
    Levels(
      name: 'Level1',
    )
  ];

  isClicked = false;
  objectTappedOn = [];
  prevObjectTappedOn = [];
  objectsCopied = [];
  objectHoveringOn = null;
}