Used the idg.Generator from github

This commit is contained in:
sm
2014-11-24 14:42:11 -08:00
parent 3eb76009ad
commit f86bacbd69
4 changed files with 6 additions and 65 deletions
+3 -1
View File
@@ -5,6 +5,8 @@ import (
"math"
"math/rand"
"github.com/smcquay/idg"
v "bitbucket.org/hackerbots/vector"
)
@@ -34,7 +36,7 @@ type Robot struct {
ProbeResult *Collision `json:"probe_result"`
gameStats *BotStats `json:"-"`
Delta float64 `json:"-"`
idg *IdGenerator
idg *idg.Generator
}
// Collision is basically a Point2d.