阅读背景:

Java XML Parsing,正确读取值到数组然后用最后的值覆盖整个数组?

来源:互联网 

I'm making a simple game, and loading an XML file with weapon stats into an array of weapons to be used in game. The stats and weapon objects are all correctly read and populated until the 'try' statement ends and then the entire array of weapons is re-written with the values of the last read weapon element. I can not for the life of me figure out why it decides to re-write everything suddenly, help would be greatly appreciated as I feel it's a rookie mistake!I'm making a simple game, and loading an XML fi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: