avatar

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 7 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 combat.Point, r float64) *Player

func (*Player) ApplySelfInfusion

func (p *Player) ApplySelfInfusion(ele attributes.Element, dur combat.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() combat.TargettableType

Jump to

Keyboard shortcuts

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