Warning, /education/gcompris/external/qml-box2d/examples/pulley/Wall.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.2
0002 import Box2D 2.0
0003 import "../shared"
0004 
0005 PhysicsItem {
0006     id: wall
0007     fixtures: Box {
0008         width: wall.width
0009         height: wall.height
0010         friction: 1
0011         density: 1
0012     }
0013     Image {
0014         source: "images/wall.jpg"
0015         fillMode: Image.Tile
0016         anchors.fill: parent
0017     }
0018 }