avatar

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

type Player struct {
	*target.Target
	*reactable.Reactable
}

func New

func New(core *core.Core, pos geometry.Point, r float64) *Player

func (*Player) ApplySelfInfusion

func (p *Player) ApplySelfInfusion(ele attributes.Element, dur reactions.Durability, f int)

func (*Player) HandleAttack added in v1.3.0

func (p *Player) HandleAttack(atk *combat.AttackEvent) float64

func (*Player) ReactWithSelf

func (p *Player) ReactWithSelf(atk *combat.AttackEvent)

func (*Player) Type

func (p *Player) Type() targets.TargettableType

Jump to

Keyboard shortcuts

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