added acceleration

This commit is contained in:
Stephen McQuay 2013-09-28 09:44:24 -07:00
parent 0b3f0f25ed
commit 535d5ac445
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import (
var hp = flag.Int("hp", 150, "")
var speed = flag.Float64("speed", 150, "")
var acceleration = flag.Float64("acceleration", 10, "")
var weaponRadius = flag.Int("wrad", 100, "weapon radius")
var scannerRadius = flag.Int("srad", 100, "scanner radius")
var server = flag.String("server", "localhost", "server hostname")
@ -159,6 +160,7 @@ func negociate(ws *websocket.Conn, gameid string) (i *infos, err error) {
Stats: Stats{
Hp: *hp,
Speed: *speed,
Acceleration: *acceleration,
WeaponRadius: *weaponRadius,
ScannerRadius: *scannerRadius,
},