Make obstacles know how to minify themselves

including a fix for using pointers instead of values.
This commit is contained in:
sm
2014-05-11 21:48:47 -07:00
parent 8f7ef5aa1a
commit 961cf5d7da
3 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ type Boardstate struct {
OtherRobots []OtherRobot `json:"robots"`
Projectiles []Projectile `json:"projectiles"`
Splosions []Splosion `json:"splosions"`
Objects [][4]int `json:"objects"`
Obstacles []Obstacle `json:"objects"`
Type string `json:"type"`
Turn int `json:"turn"`
AllBots []BotHealth `json:"all_bots"`