game

package
v0.0.0-...-5198b88 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PlayerAvatar = avatar.Avatar{}
	Player       = character.Stats{

		CharacterName: "zwindler",
		PointsToSpend: 0,

		Avatar: PlayerAvatar,

		StrengthValue:     10,
		ConstitutionValue: 10,
		IntelligenceValue: 10,
		DexterityValue:    10,
		Level:             1,
		HP:                hp.New(character.BaseHP),
		MP:                mp.New(character.BaseMP),
	}
	CurrentMap = &maps.AllTheMaps[0]
)

Functions

func InitGame

func InitGame(window fyne.Window, start bool)

InitGame will initialise all needed variables before start game (start=true) or load game (start=false).

Types

This section is empty.

Jump to

Keyboard shortcuts

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