class

package
v0.0.0-...-0d78db7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Naked   = naked{}
	Diamond = diamond{}
	Bard    = bard{}
	Rogue   = rogue{}
	Archer  = archer{}
)

Functions

func Is

func Is(initial, expected Class) bool

func NameOf

func NameOf(c Class) string

Types

type Class

type Class interface {
	Tiers() [4]item.ArmourTier
	Effects() map[effect.LastingType]EffectLevel
}

func All

func All() []Class

func Of

func Of(p *player.Player) Class

func OfTiers

func OfTiers(tiers [4]item.ArmourTier) Class

type EffectLevel

type EffectLevel int

Jump to

Keyboard shortcuts

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