EdgeScroller is a System that allows for scrolling when the cursor is near the edges of the window.
| 412 | // EdgeScroller is a System that allows for scrolling when the cursor is near the edges of |
| 413 | // the window. |
| 414 | type EdgeScroller struct { |
| 415 | ScrollSpeed float32 |
| 416 | EdgeMargin float32 |
| 417 | } |
| 418 | |
| 419 | // Priority implements the ecs.Prioritizer interface. |
| 420 | func (*EdgeScroller) Priority() int { return EdgeScrollerPriority } |
nothing calls this directly
no outgoing calls
no test coverage detected