Modifed the mouse scrolling and added gradual scrolling speed. It starts to scroll when the cursor is within 15 pixels of an edge. The closer the cursor is to the edge, the faster the scrolling is.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All map layers are converted scrollable layers and added to a scrolling manager. Some method calls are simplified.
All eight directions are functioning. W, A, S, D keys shoud be bound to scrolling too so windowed scrolling will be handy.
Modifed the mouse scrolling and added gradual scrolling speed. It starts to scroll when the cursor is within 15 pixels of an edge. The closer the cursor is to the edge, the faster the scrolling is.