Used the idg.Generator from github
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user