KeyboardScroller is a System that allows for scrolling when certain keys are pressed.
| 316 | |
| 317 | // KeyboardScroller is a System that allows for scrolling when certain keys are pressed. |
| 318 | type KeyboardScroller struct { |
| 319 | ScrollSpeed float32 |
| 320 | horizontalAxis, verticalAxis string |
| 321 | keysMu sync.RWMutex |
| 322 | } |
| 323 | |
| 324 | // Priority implememts the ecs.Prioritizer interface. |
| 325 | func (*KeyboardScroller) Priority() int { return KeyboardScrollerPriority } |
nothing calls this directly
no outgoing calls
no test coverage detected