Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/oab7/eecs-290-super-power-r…
Browse files Browse the repository at this point in the history
…obots
  • Loading branch information
seankruer committed May 2, 2011
2 parents 0a1f0aa + 0530aa4 commit cbdc869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Project290/Project290/Games/SuperPowerRobots/Battle.cs
Expand Up @@ -44,6 +44,8 @@ public Battle(SPRWorld sprWorld, int botHalfWidth, World world, int currentLevel

xmlDoc.Load("Games/SuperPowerRobots/Storage/Allies.xml");

//xmlDoc.

XmlNodeList nodes = xmlDoc.GetElementsByTagName("Bot");

Vector2[] edges = { new Vector2(-botHalfWidth, -botHalfWidth) * Settings.MetersPerPixel, new Vector2(botHalfWidth, -botHalfWidth) * Settings.MetersPerPixel, new Vector2(botHalfWidth, botHalfWidth) * Settings.MetersPerPixel, new Vector2(-botHalfWidth, botHalfWidth) * Settings.MetersPerPixel };
Expand Down
Expand Up @@ -32,4 +32,5 @@
<Power>10</Power>
</Weapon>
</Bot>
<Level>0</Level>
</Allies>

0 comments on commit cbdc869

Please sign in to comment.