<?xml version="1.0" encoding="ISO-8859-1"?>
<board>
<ball xVelocity="-2.1" yVelocity="-3.5" />
<cezmi1 x="1" score="2" />
<gizmos>
<squareBumper x="0" y="2" />
<squareBumper x="3" y="3" />
<squareBumper x="5" y="5" />
<squareBumper x="7" y="7" />
<squareBumper x="12" y="12" />
<squareBumper x="7" y="12" />
<squareBumper x="18" y="10" />
</gizmos>
</board>
我想在我的 Example.java 中使用速度值,例如 xVelocity 和 yVelocity
但我不知道如何解析它?