demos/declarative/snake/content/Link.qml
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    71                 } else {
    71                 } else {
    72                     "pics/redStone.png";
    72                     "pics/redStone.png";
    73                 }
    73                 }
    74             }
    74             }
    75 
    75 
       
    76                     /*
    76             transform: Rotation {
    77             transform: Rotation {
    77                 id: actualImageRotation
    78                 id: actualImageRotation
    78                 origin.x: width/2; origin.y: height/2;
    79                 origin.x: width/2; origin.y: height/2;
    79                 angle: rotation * 90
    80                 angle: rotation * 90
    80                 Behavior on angle { NumberAnimation { duration: spawned ? 200 : 0} }
    81                 Behavior on angle { NumberAnimation { duration: spawned ? 200 : 0} }
    81             }
    82             }
       
    83             */
    82         }
    84         }
    83 
    85 
    84         Image {
    86         Image {
    85             source: "pics/stoneShadow.png"
    87             source: "pics/stoneShadow.png"
    86         }
    88         }