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 {