MCPcopy Create free account
hub / github.com/SolarLune/masterplan / Moving

Method Moving

events.go:267–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265}
266
267func (mouse *Mouse) Moving() bool {
268 if mouse.HiddenPosition {
269 return false
270 }
271 return globals.Mouse.RelativeMovement().Length() > 0
272}
273
274func (mouse *Mouse) PressedButtons() []uint8 {
275

Callers 1

UpdateMethod · 0.80

Calls 2

RelativeMovementMethod · 0.80
LengthMethod · 0.45

Tested by

no test coverage detected