aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/plasmapatrol/content/PlasmaPatrolParticles.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-09-20 17:16:36 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-21 07:11:25 +0200
commitc07ea77a6201ef5595ff5714fba891be4408fa9a (patch)
treea76327735961f81130bffeeb9a62f2fcb7fec8bb /examples/declarative/particles/plasmapatrol/content/PlasmaPatrolParticles.qml
parentef98f5a80369e3f014585edc3dd63a2ec331d1ea (diff)
Add whitespace
Change-Id: Iad55228ffa86bbf63b12a33d0f00ce734807c071 Reviewed-on: http://codereview.qt-project.org/5199 Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'examples/declarative/particles/plasmapatrol/content/PlasmaPatrolParticles.qml')
-rw-r--r--examples/declarative/particles/plasmapatrol/content/PlasmaPatrolParticles.qml34
1 files changed, 17 insertions, 17 deletions
diff --git a/examples/declarative/particles/plasmapatrol/content/PlasmaPatrolParticles.qml b/examples/declarative/particles/plasmapatrol/content/PlasmaPatrolParticles.qml
index 7a8c3e61b3..c68ba3b98e 100644
--- a/examples/declarative/particles/plasmapatrol/content/PlasmaPatrolParticles.qml
+++ b/examples/declarative/particles/plasmapatrol/content/PlasmaPatrolParticles.qml
@@ -41,9 +41,9 @@
import QtQuick 2.0
import QtQuick.Particles 2.0
-Item{
+Item {
property ParticleSystem sys
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["default"]
source: "pics/blur-circle3.png"
@@ -51,7 +51,7 @@ Item{
colorVariation: 0.1
z: 0
}
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["redTeam"]
source: "pics/blur-circle3.png"
@@ -59,7 +59,7 @@ Item{
colorVariation: 0.1
z: 0
}
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["greenTeam"]
source: "pics/blur-circle3.png"
@@ -67,7 +67,7 @@ Item{
colorVariation: 0.1
z: 0
}
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["blaster"]
source: "pics/star2.png"
@@ -76,7 +76,7 @@ Item{
colorVariation: 0.2
z: 2
}
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["laser"]
source: "pics/star3.png"
@@ -85,7 +85,7 @@ Item{
colorVariation: 0.2
z: 2
}
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["cannon"]
source: "pics/particle.png"
@@ -93,7 +93,7 @@ Item{
colorVariation: 0.1
z: 2
}
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["cannonCore"]
source: "pics/particle.png"
@@ -101,7 +101,7 @@ Item{
colorVariation: 0.8
z: 1
}
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["cannonWake"]
source: "pics/star.png"
@@ -109,7 +109,7 @@ Item{
colorVariation: 0.2
z: 1
}
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["frigateShield"]
source: "pics/blur-circle2.png"
@@ -119,24 +119,24 @@ Item{
greenVariation: 0.1
z: 3
}
- ImageParticle{
+ ImageParticle {
system: sys
groups: ["cruiserArmor"]
z: 1
- sprites:[Sprite{
+ sprites:[Sprite {
id: spinState
name: "spinning"
source: "pics/meteor.png"
frames: 35
duration: 40
to: {"death":0, "spinning":1}
- },Sprite{
+ },Sprite {
name: "death"
source: "pics/meteor_explo.png"
frames: 22
duration: 40
to: {"null":1}
- }, Sprite{
+ }, Sprite {
name: "null"
source: "pics/nullRock.png"
frames: 1
@@ -144,13 +144,13 @@ Item{
}
]
}
- TrailEmitter{
+ TrailEmitter {
system: sys
group: "cannonWake"
follow: "cannon"
emitRatePerParticle: 64
lifeSpan: 600
- speed: AngleDirection{ angleVariation: 360; magnitude: 48}
+ speed: AngleDirection { angleVariation: 360; magnitude: 48}
size: 16
endSize: 8
sizeVariation: 2
@@ -158,7 +158,7 @@ Item{
width: 1000//XXX: Terrible hack
height: 1000
}
- TrailEmitter{
+ TrailEmitter {
system: sys
group: "cannonCore"
follow: "cannon"