diff options
Diffstat (limited to 'demos/declarative/samegame/content/FastBlock.qml')
-rw-r--r-- | demos/declarative/samegame/content/FastBlock.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/samegame/content/FastBlock.qml b/demos/declarative/samegame/content/FastBlock.qml index 04eb59b..c3e8829 100644 --- a/demos/declarative/samegame/content/FastBlock.qml +++ b/demos/declarative/samegame/content/FastBlock.qml @@ -1,7 +1,7 @@ Rect { id:block //Note: These properties are the interface used to control the blocks property bool dying: false - property bool spawning: false + property bool spawned: false property int type: 0 property int targetY: 0 property int targetX: 0 @@ -17,7 +17,7 @@ Rect { id:block states: [ - State{ name: "SpawnState"; when: spawning == true && dying == false + State{ name: "AliveState"; when: spawned == true && dying == false SetProperties { target: block; opacity: 1 } }, State{ name: "DeathState"; when: dying == true |