minazuki

package
v0.0.0-...-aaa956a Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

package minazuki provides common implementation for abilities that trigger based on normal animation state, i.e. xingqiu burst

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config func(w *Watcher) error

func WithAnimationDelayCheck

func WithAnimationDelayCheck(key model.AnimationDelayKey, shouldDelay func() bool) Config

func WithAnimationState

func WithAnimationState(s action.AnimationState) Config

func WithMandatory

func WithMandatory(key keys.Char, abil, statusKey, icdKey string, tickerFreq int, triggerFunc func(), c *core.Core) Config

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

Watcher watches state change and triggers accordingly

func New

func New(cfg ...Config) (*Watcher, error)

func (*Watcher) Kill

func (w *Watcher) Kill()

Jump to

Keyboard shortcuts

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