Create a stripped down version of the robot struct to represent all robots and break up the update into my_robots and robots.

Has dependent change on client
This commit is contained in:
Fraser Graham
2013-10-24 20:13:21 -07:00
parent cc248dc2fe
commit de68ec2e7b
3 changed files with 36 additions and 10 deletions
-1
View File
@@ -71,7 +71,6 @@ func (p *player) checkCollisions(g *game, move_vector v.Vector2d) (bool, v.Point
}
// Check Other Bots
// TODO - FIX THIS
for player := range g.players {
if player.Robot.Id == p.Robot.Id {
continue