class

package
v0.0.0-...-9fe3520 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 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() []effect.Type
}

func All

func All() []Class

func Of

func Of(p *player.Player) Class

func OfTiers

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

Jump to

Keyboard shortcuts

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