added acceleration
This commit is contained in:
parent
0b3f0f25ed
commit
535d5ac445
2
main.go
2
main.go
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user