translate4game

package module
v0.0.0-...-4fa2c7f Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: MIT Imports: 7 Imported by: 0

README

translate4game

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Position

type Position struct {
	X int
	Y int
}

func GetCurrentPosition

func GetCurrentPosition() *Position

func GetPosition

func GetPosition(name string) (p *Position)

type Translate

type Translate struct {
	LeftUP     *Position `json:"left_up"`
	RightDown  *Position `json:"right_down"`
	Image      *Position `json:"image"`
	Game       *Position `json:"game"`
	Baidufanyi *Position `json:"baidufanyi"`
}

func (*Translate) CaptureScreen

func (tr *Translate) CaptureScreen()

func (*Translate) CopyImage

func (tr *Translate) CopyImage()

func (*Translate) Init

func (tr *Translate) Init()

func (*Translate) ReturnToGame

func (tr *Translate) ReturnToGame(startPosition *Position)

func (*Translate) Start

func (tr *Translate) Start()

func (*Translate) TranslateByBaidufanyi

func (tr *Translate) TranslateByBaidufanyi()

Jump to

Keyboard shortcuts

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