bandwidth reduction, filtering explosions and sending objects as [4]int

This commit is contained in:
Fraser Graham
2013-11-16 23:13:03 -08:00
parent 5a2651d0dd
commit 58c084c7ab
4 changed files with 49 additions and 12 deletions
+1
View File
@@ -110,6 +110,7 @@ type Boardstate struct {
Projectiles []Projectile `json:"projectiles"`
Splosions []Splosion `json:"splosions"`
Obstacles []Obstacle `json:"obj"`
Objects [][4]int `json:"objects"`
Type string `json:"type"`
Turn int `json:"turn"`
AllBots []BotHealth `json:"all_bots"`