From 787bf9b435fb963910b0a3c4d1eb36d7d2d0d46a Mon Sep 17 00:00:00 2001 From: Stephen McQuay Date: Thu, 16 Jan 2014 23:06:28 -0800 Subject: [PATCH] updated ProbeResult struct for type --- botserv.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/botserv.go b/botserv.go index fd9a1ee..1a42497 100644 --- a/botserv.go +++ b/botserv.go @@ -58,7 +58,11 @@ type Robot struct { Collision bool `json:"collision"` Hit bool `json:"hit"` Probe *govector.Point2d `json:"probe"` - ProbeResult *govector.Point2d `json:"probe_result"` + ProbeResult *ProbeResult `json:"probe_result"` +} +type ProbeResult struct { + govector.Point2d + Type string `json:"type"` } type Stats struct {