aboutsummaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 1682a01..d397fae 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -14,7 +14,8 @@ type Config struct {
}
type GameConfig struct {
- MaxWidth int `yaml:"maxWidth"`
+ TickLength int `yaml:"tick_length"`
+ GameSpeed float64 `yaml:"game_speed"`
}
type TelnetConfig struct {
@@ -37,7 +38,8 @@ type HTTPSConfig struct {
func Default() *Config {
return &Config{
Game: GameConfig{
- MaxWidth: 70,
+ TickLength: 600,
+ GameSpeed: 1.0,
},
Telnet: TelnetConfig{
Enabled: true,