Simple 2D game physics implementation for Qt Quick / QML