Plumbed Delta and the IdGenerator back through

This commit is contained in:
sm
2014-03-31 23:21:20 -07:00
parent 8b52f93ca5
commit a956162205
5 changed files with 27 additions and 10 deletions
+4 -1
View File
@@ -288,7 +288,10 @@ encodingLoops:
Name: name,
Health: 10,
Heading: v.Vector2d{1, 0},
Scanners: make([]Scanner, 0)}
Scanners: make([]Scanner, 0),
Delta: c.Conf.Delta,
idg: c.Idg,
}
r.Health = r.Stats.Hp
log.Printf("%s: adding robot: %s", p.Id, r.Id)
r.reset(game)