Object Serialization for Undo/Redo Functionality Java

Posted by user291989 on Stack Overflow See other posts from Stack Overflow or by user291989
Published on 2010-03-11T23:58:08Z Indexed on 2010/03/12 0:47 UTC
Read the original article Hit count: 380

Filed under:
|
|
|
|

I have been trying to implement and undo/redo system in a game I am coding in Java. I am taking the approach of serializing the state of the game after each move. I there a way of saving the serialized objects on a stack and accessing them for undo/redo?

© Stack Overflow or respective owner

Related posts about java

Related posts about serialization