Documentation ¶
Index ¶
- func Attack() bool
- func BuildRandAtt(att, min, max float64) float64
- func Clear()
- func Decimal(value float64, fix int) float64
- func GetAttackTarget() int
- func GetWantInput(rang ...int) (res int)
- func Go()
- func InitTarget()
- func Page0()
- type AttributesBasicExt
- type TargetInfoExt
- func (this *TargetInfoExt) Alive() bool
- func (this *TargetInfoExt) Attack(tar *TargetInfoExt)
- func (this *TargetInfoExt) BindUi() fyne.CanvasObject
- func (this *TargetInfoExt) BuildNew(min, max float64)
- func (this *TargetInfoExt) FlushStr()
- func (this *TargetInfoExt) GetReduce() (percent float64)
- func (this *TargetInfoExt) Rebuild()
- func (this *TargetInfoExt) ShowStatus()
- func (this *TargetInfoExt) Upgrade() fyne.CanvasObject
- type TargetInfoString
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRandAtt ¶
func GetAttackTarget ¶
func GetAttackTarget() int
func GetWantInput ¶
func InitTarget ¶
func InitTarget()
Types ¶
type AttributesBasicExt ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.