diff options
author | Emile <hanemile@protonmail.com> | 2020-02-23 16:42:34 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-02-23 16:42:34 +0100 |
commit | f0c4704b2229ceef35ded1c65f05f92f03fe9f41 (patch) | |
tree | fde092cf40206f2c70089589ffedafee094a66be /src | |
parent | 9e6df61b1ef5120f3d10eb80d0892a044a46d166 (diff) |
more struct fields
Diffstat (limited to 'src')
-rw-r--r-- | src/structs.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/structs.go b/src/structs.go index d0a683c..c0cddc2 100644 --- a/src/structs.go +++ b/src/structs.go @@ -1,5 +1,7 @@ package main +import "time" + // Config defines the meta config type Config struct { @@ -17,6 +19,15 @@ type Config struct { // Bots defines a list of bots to take part in the battle Bots []Bot + + // AmountOfBots defines the amount of bots taking part in the tournament + AmountOfBots int + + // RandomOffsets defines the offset in memory where the bots should be placed + RandomOffsets []int + + // GameRoundTime defines the length of a gameround + GameRoundDuration time.Duration } // Bot defines a bot |