import QtQuick 1.0
import Box2D 1.0

Body {
    id: jump

    bodyType: Body.Static
    parent: world

    fixtures: Polygon {
        friction: 1.0
        vertices: [
            Qt.point(0, jump.height),
            Qt.point(jump.width, jump.height),
            Qt.point(jump.width, 0)
        ]
    }

    Image {
        anchors.fill: parent
        source: "gfx/jump.png"
    }
}
