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

Method RelativeMovement

events.go:192–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190}
191
192func (mouse *Mouse) RelativeMovement() Vector {
193 if mouse.HiddenPosition {
194 return mouse.Dummy.RelativeMovement()
195 }
196 return mouse.screenPosition.Sub(mouse.prevPosition)
197}
198
199func (mouse *Mouse) Wheel() float32 {
200 if mouse.HiddenButtons {

Callers 2

MouseActionsMethod · 0.80
MovingMethod · 0.80

Calls 1

SubMethod · 0.45

Tested by

no test coverage detected