- <UnitDefinition>
<Hero> <!-- 게임의 주인공을 정의 -->
<Image path="hero_n.png" direction="North" /> <!-- 북쪽을 바라볼 때의 image path -->
<Image path="hero_w.png" direction="West" /> <!-- 서쪽을 바라볼 때의 image path -->
<Image path="hero_e.png" direction="East" />
<Image path="hero_s.png" direction="South" />
</Hero>
<Monster id="zergling" level="1" exp="250" imagepath="mon1.png" /> <!-- Monster 하나를 정의 -->
<Monster id="marine" level="2" exp="280" imagepath="mon2.png" /> <!-- level: Monster의 level-->
<Monster id="vurture" level="3" exp="300" imagepath="mon3.png" /> <!-- 이 값에 따라 배치 -->
<Monster id="hydra" level="4" exp="320" imagepath="mon4.png" /> <!-- exp: 경험치 -->
<Monster id="dragoon" level="5" exp="350" imagepath="mon5.png" />
<Monster id="mutalisk" level="6" exp="370" imagepath="mon6.png" />
<Monster id="tank" level="7" exp="400" imagepath="mon7.png" />
<Monster id="guardian" level="8" exp="450" imagepath="mon8.png" />
<Monster id="archon" level="9" exp="530" imagepath="mon9.png" />
<Monster id="ultra" level="10" exp="600" imagepath="mon10.png" />
</UnitDefinition>