encounters

package
v0.0.146 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDefaultPresetEncounter

func AddDefaultPresetEncounter()

func AddSingleTargetBossEncounter

func AddSingleTargetBossEncounter(presetTarget *core.PresetTarget)

func NewMovementAI

func NewMovementAI() core.AIFactory

Types

type MovementAI

type MovementAI struct {
	Target       *core.Target
	NextMoveTime time.Duration
	MoveInterval time.Duration // How often moves happen
	ReactionTime time.Duration // Time available to react before area should be cleared
	MoveYards    float64       // Duration of the move
}

func (*MovementAI) ExecuteCustomRotation

func (ai *MovementAI) ExecuteCustomRotation(sim *core.Simulation)

func (*MovementAI) Initialize

func (ai *MovementAI) Initialize(target *core.Target, config *proto.Target)

func (*MovementAI) Reset

func (ai *MovementAI) Reset(sim *core.Simulation)

func (*MovementAI) TimeToMove

func (ai *MovementAI) TimeToMove(distance float64, unit *core.Unit) time.Duration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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