players can now set target speed in bot code

This commit is contained in:
Fraser Graham
2013-11-06 21:24:10 -08:00
parent cd9bb45ddc
commit e562e2fefb
2 changed files with 12 additions and 10 deletions
+4 -3
View File
@@ -154,7 +154,8 @@ func (s StatsRequest) Valid() bool {
}
type Instruction struct {
MoveTo *v.Point2d `json:"move_to,omitempty"`
FireAt *v.Point2d `json:"fire_at,omitempty"`
Stats Stats `json:"stats"`
MoveTo *v.Point2d `json:"move_to,omitempty"`
FireAt *v.Point2d `json:"fire_at,omitempty"`
TargetSpeed *float32 `json:"target_speed,omitempty"`
Stats Stats `json:"stats"`
}