settings

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	WizardMoveSpeed           int
	FireballSpeed             int
	FastFireballSpeed         int
	FireballDamage            int
	PowerFireballDamage       int
	Lives                     int
	UpKeys                    []string
	DownKeys                  []string
	MinPlayAreaHeight         int
	PowerupDespawnTime        int
	MonsterSpeedMultiplier    int
	MonsterPowerupHeal        int
	MonsterPushback           int
	MonsterPushbackMultiplier float64
	HitPause                  int
}

Config are settings that can be tweaked, easier to change in file no recompile required.

func New

func New() *Config

New gets a new config loaded from file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL