run

package
v0.0.0-...-f5e84f7 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attack

func Attack() bool

func BuildRandAtt

func BuildRandAtt(att, min, max float64) float64

func Clear

func Clear()

func Decimal

func Decimal(value float64, fix int) float64

func GetAttackTarget

func GetAttackTarget() int

func GetWantInput

func GetWantInput(rang ...int) (res int)

func Go

func Go()

func InitTarget

func InitTarget()

func Page0

func Page0()

Types

type AttributesBasicExt

type AttributesBasicExt struct {
	HP             float64
	HPStr          string
	Def            float64
	DefStr         string
	Attack         float64
	AttackStr      string
	AttackSpeed    float64
	AttackSpeedStr string
	RunAttackSpeed float64
}

type TargetInfoExt

type TargetInfoExt struct {
	Level   int
	Name    string
	AttInfo *TargetInfoString
	NorAtt  AttributesBasicExt
	Tmp     AttributesBasicExt
}
var Monster *TargetInfoExt
var User *TargetInfoExt

func (*TargetInfoExt) Alive

func (this *TargetInfoExt) Alive() bool

func (*TargetInfoExt) Attack

func (this *TargetInfoExt) Attack(tar *TargetInfoExt)

func (*TargetInfoExt) BindUi

func (this *TargetInfoExt) BindUi() fyne.CanvasObject

func (*TargetInfoExt) BuildNew

func (this *TargetInfoExt) BuildNew(min, max float64)

func (*TargetInfoExt) FlushStr

func (this *TargetInfoExt) FlushStr()

func (*TargetInfoExt) GetReduce

func (this *TargetInfoExt) GetReduce() (percent float64)

func (*TargetInfoExt) Rebuild

func (this *TargetInfoExt) Rebuild()

func (*TargetInfoExt) ShowStatus

func (this *TargetInfoExt) ShowStatus()

func (*TargetInfoExt) Upgrade

func (this *TargetInfoExt) Upgrade() fyne.CanvasObject

type TargetInfoString

type TargetInfoString struct {
	AttInfo bytes.Buffer
	binding.DataItem
}

func (*TargetInfoString) Get

func (this *TargetInfoString) Get() (string, error)

Get() (string, error) Set(string) error

func (*TargetInfoString) Set

func (this *TargetInfoString) Set(str string) error

Jump to

Keyboard shortcuts

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