Documentation
¶
Index ¶
- func Attack() bool
- func AttackUI()
- 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 InitGui() (err error)
- func InitTarget()
- func MainUI()
- func RunUI(uiIndex int)
- func TargetUi() fyne.CanvasObject
- func UpgradeUI()
- type AttributesBasicExt
- type MyGuiExt
- type TargetInfoExt
- func (this *TargetInfoExt) AddStatusStr(str string)
- 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) Rand()
- func (this *TargetInfoExt) Rebuild()
- func (this *TargetInfoExt) SetAttackUi() (list []*widget.Label)
- func (this *TargetInfoExt) ShowStatus()
- func (this *TargetInfoExt) Upgrade() fyne.CanvasObject
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 AttributesBasicExt struct { HP float64 LeftPer float64 LeftPerBd binding.ExternalFloat HPStr string HPStrBd binding.ExternalString Def float64 DefStr string DefStrBd binding.ExternalString Attack float64 AttackStr string AttackStrBd binding.ExternalString AttackSpeed float64 AttackSpeedStr string AttackSpeedStrBd binding.ExternalString RunAttackSpeed float64 }
type MyGuiExt ¶
type MyGuiExt struct { MainWindow fyne.Window // contains filtered or unexported fields }
var Gui *MyGuiExt
type TargetInfoExt ¶
type TargetInfoExt struct { Level int LevelBd binding.ExternalInt Name string Str string StrBd binding.ExternalString AttInfo bytes.Buffer NorAtt AttributesBasicExt Tmp AttributesBasicExt // contains filtered or unexported fields }
var Monster *TargetInfoExt
var User *TargetInfoExt
func (*TargetInfoExt) AddStatusStr ¶
func (this *TargetInfoExt) AddStatusStr(str string)
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) Rand ¶
func (this *TargetInfoExt) Rand()
func (*TargetInfoExt) Rebuild ¶
func (this *TargetInfoExt) Rebuild()
func (*TargetInfoExt) SetAttackUi ¶
func (this *TargetInfoExt) SetAttackUi() (list []*widget.Label)
func (*TargetInfoExt) ShowStatus ¶
func (this *TargetInfoExt) ShowStatus()
func (*TargetInfoExt) Upgrade ¶
func (this *TargetInfoExt) Upgrade() fyne.CanvasObject
Click to show internal directories.
Click to hide internal directories.