avatar

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MIT Imports: 6 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, x, y, r float64) *Player

func (*Player) ApplySelfInfusion

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

func (*Player) Attack

func (p *Player) Attack(ae *combat.AttackEvent, evt glog.Event) (float64, bool)

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