kit

package
v0.0.0-...-205331c Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(k Kit, p *player.Player)

Types

type BedFight

type BedFight struct {
	TeamColor BedFightTeamColor
}

func (BedFight) Armour

func (b BedFight) Armour(*player.Player) [4]item.Stack

func (BedFight) Items

func (b BedFight) Items(*player.Player) [36]item.Stack

type BedFightTeamColor

type BedFightTeamColor int
const (
	BedFightTeamRed BedFightTeamColor = iota
	BedFightTeamBlue
)

func (BedFightTeamColor) Colour

func (b BedFightTeamColor) Colour() item.Colour

type Build

type Build struct{}

func (Build) Armour

func (b Build) Armour(*player.Player) [4]item.Stack

func (Build) Items

func (b Build) Items(*player.Player) [36]item.Stack

type Classic

type Classic struct{}

func (Classic) Armour

func (Classic) Armour(*player.Player) [4]item.Stack

func (Classic) Items

func (Classic) Items(*player.Player) [36]item.Stack

type CustomKB

type CustomKB interface {
	KnockBack(vertical, force *float32)
}

type Kit

type Kit interface {
	Items(p *player.Player) [36]item.Stack
	Armour(p *player.Player) [4]item.Stack
}

type NoDebuff

type NoDebuff struct{}

func (NoDebuff) Armour

func (NoDebuff) Armour(*player.Player) [4]item.Stack

func (NoDebuff) Items

func (NoDebuff) Items(*player.Player) [36]item.Stack

type Nop

type Nop struct{}

func (Nop) Armour

func (Nop) Armour(*player.Player) [4]item.Stack

func (Nop) Items

func (Nop) Items(*player.Player) [36]item.Stack

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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