common

package
v0.0.0-...-dff1495 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SourcewaterDroplet

type SourcewaterDroplet struct {
	*gadget.Gadget
}

func NewSourcewaterDroplet

func NewSourcewaterDroplet(core *core.Core, pos geometry.Point, typ combat.GadgetTyp) *SourcewaterDroplet

func (*SourcewaterDroplet) Attack

func (*SourcewaterDroplet) CalcTempDirection

func (s *SourcewaterDroplet) CalcTempDirection(trg geometry.Point) geometry.Point

func (*SourcewaterDroplet) HandleAttack

func (s *SourcewaterDroplet) HandleAttack(*combat.AttackEvent) float64

func (*SourcewaterDroplet) SetDirection

func (s *SourcewaterDroplet) SetDirection(trg geometry.Point)

func (*SourcewaterDroplet) SetDirectionToClosestEnemy

func (s *SourcewaterDroplet) SetDirectionToClosestEnemy()

func (*SourcewaterDroplet) Type

Jump to

Keyboard shortcuts

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