Moved definition of what robots have which stats into the player interface

This commit is contained in:
Fraser Graham
2016-07-13 16:04:48 -06:00
parent 70adb5b713
commit 35cb8431f6
6 changed files with 273 additions and 148 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ func main() {
Player: client.Spectator{},
}
var err error
err = c.Negotiate("spectator")
err = c.Negotiate("spectator", c.Player)
if err != nil {
fmt.Fprintf(os.Stderr, "%s: failed to negotiate: %s\n", c.Name, err)
os.Exit(1)