travelerdendro

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChar

func NewChar(gender int) core.NewCharacterFunc

Types

type LeaLotus

type LeaLotus struct {
	*gadget.Gadget
	*reactable.Reactable
	// contains filtered or unexported fields
}

func (*LeaLotus) AuraContains

func (s *LeaLotus) AuraContains(e ...attributes.Element) bool

func (*LeaLotus) CalcTempDirection added in v1.6.0

func (s *LeaLotus) CalcTempDirection(trg combat.Point) combat.Point

func (*LeaLotus) HandleAttack

func (s *LeaLotus) HandleAttack(atk *combat.AttackEvent) float64

func (*LeaLotus) QueueAttack

func (l *LeaLotus) QueueAttack(delay int)

func (*LeaLotus) React

func (r *LeaLotus) React(a *combat.AttackEvent)

func (*LeaLotus) SetDirection added in v1.6.0

func (s *LeaLotus) SetDirection(trg combat.Point)

func (*LeaLotus) SetDirectionToClosestEnemy added in v1.6.0

func (s *LeaLotus) SetDirectionToClosestEnemy()

func (*LeaLotus) Tick

func (s *LeaLotus) Tick()

func (*LeaLotus) TryBloom

func (s *LeaLotus) TryBloom(a *combat.AttackEvent)

func (*LeaLotus) TryBurning

func (s *LeaLotus) TryBurning(a *combat.AttackEvent)

func (*LeaLotus) TryQuicken

func (s *LeaLotus) TryQuicken(a *combat.AttackEvent)

Jump to

Keyboard shortcuts

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