Documentation ¶
Index ¶
Constants ¶
View Source
const ( MultiClass = "MultiClass" Class = "Class" Lvl = "Lvl" SubClass = "SubClass" SecondClass = "SecondClass" SecondLvl = "SecondLvl" SecondSubClass = "SecondSubClass" FeatsValue = "FeatsValue" SecondFeatsValue = "SecondFeatsValue" )
Variables ¶
View Source
var PlayerBinding binding.Struct
PlayerBinding is a Fyne binding on the current player
Functions ¶
func GetMasteryByLevel ¶
GetMasteryByLevel return the mastery bonus for the given lvl
func GetStatModificator ¶
GetStatModificator return the modificator to apply for the given stat value.
Types ¶
type Player ¶
type Player struct { MultiClass bool Class classmanager.Class Lvl int SubClass classmanager.SubClass SecondClass classmanager.Class SecondLvl int SecondSubClass classmanager.SubClass FeatsValue int SecondFeatsValue int }
Player is a struct defining a user
var CurrentPlayer *Player
CurrentPlayer is the current player (aka user)
Click to show internal directories.
Click to hide internal directories.