Mercurial > hg > Members > tkaito > task_dandy
diff main.cc @ 8:7c60ef3fca5b
test
author | tkaito |
---|---|
date | Wed, 07 Jul 2010 03:11:52 +0900 |
parents | c015109a6041 |
children | 27d3291a7c82 |
line wrap: on
line diff
--- a/main.cc Tue Jun 29 04:25:32 2010 +0900 +++ b/main.cc Wed Jul 07 03:11:52 2010 +0900 @@ -35,10 +35,10 @@ sgroot->createFromXMLfile("xml/redbullet.xml"); sgroot->createFromXMLfile("xml/title2.xml"); - for (int i = 0; i < ENEMY_NUM; i++) { - charactor[0].root = (void*)sgroot->createSceneGraph(status[0].charano); - charactor[0].score = status[0].score; - charactor[0].vital = status[0].vital; + for (int i = 0; i < 2; i++) { + charactor[i].root = (void*)sgroot->createSceneGraph(status[i].charano); + charactor[i].score = status[i].score; + charactor[i].vital = status[i].vital; } }