I am attempting to create a reset button in a simple isometric libgdx puzzle game I am making utilizing libgdx. I am using the TiledMap object in order to render my map.

Within my code, I edit some cells of layers in order to display that a specific interaction has occurred. When I try to reset the map by setting the edited layers to the original layer that was passed in order to undo this change, the cells are not unedited.

I can post code in the comments if needed, just trying to undo these edits to cells without explicitly referencing specific cells.

  • 1
    \$\begingroup\$ Editing your relevant code into the question would certainly aid others in helping you. \$\endgroup\$
    – user35344
    Jun 6 '21 at 22:51

You must log in to answer this question.

Browse other questions tagged .