What is a good example of saving game data in XNA 4.0?
问题 I am trying to work my way through the XNA MSDN documentation on saving and reading game data, and I am not having much luck. In essence I have a manager class which keeps track multiple instance of of base classes. I want to be able to save the state of the entire list of objects that the manager is keeping track of then then load them in the next time the game loads. Basically saving the state of the world. 回答1: If you use the XmlSerializer as shown in the XNA 4.0 help, base classes need to