aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/plasmapatrol/content/Sloop.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/Sloop.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/Sloop.qml')
-rw-r--r--examples/declarative/particles/plasmapatrol/content/Sloop.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/declarative/particles/plasmapatrol/content/Sloop.qml b/examples/declarative/particles/plasmapatrol/content/Sloop.qml
index 59678a75ea..c94fecef34 100644
--- a/examples/declarative/particles/plasmapatrol/content/Sloop.qml
+++ b/examples/declarative/particles/plasmapatrol/content/Sloop.qml
@@ -55,19 +55,19 @@ Item {
property int gunType: 0
width: 128
height: 128
- Emitter{
+ Emitter {
id: emitter
//TODO: Cooler would be an 'orbiting' affector
//TODO: On the subject, opacity and size should be grouped type 'overLife' if we can cram that in the particles
system: container.system
group: container.shipParticle
- shape: EllipseShape{}
+ shape: EllipseShape {}
emitRate: hp > 0 ? hp + 20 : 0
lifeSpan: blinkInterval
maximumEmitted: (maxHP + 20)
- acceleration: AngleDirection{angleVariation: 360; magnitude: 8}
+ acceleration: AngleDirection {angleVariation: 360; magnitude: 8}
size: 24
endSize: 4
@@ -76,9 +76,9 @@ Item {
height: 16
x: 64
y: 64
- Behavior on x{NumberAnimation{duration:blinkInterval}}
- Behavior on y{NumberAnimation{duration:blinkInterval}}
- Timer{
+ Behavior on x {NumberAnimation {duration:blinkInterval}}
+ Behavior on y {NumberAnimation {duration:blinkInterval}}
+ Timer {
interval: blinkInterval
running: true
repeat: true
@@ -88,19 +88,19 @@ Item {
}
}
}
- Hardpoint{
+ Hardpoint {
anchors.centerIn: parent
id: gun2
system: container.system
show: container.hp > 0
hardpointType: gunType
}
- Timer{
+ Timer {
id: fireControl
interval: 800
running: root.readySetGo
repeat: true
- onTriggered:{
+ onTriggered: {
gun2.fireAt(container.target);
}
}