aboutsummaryrefslogtreecommitdiffstats
path: root/demos/declarative/plasmapatrol/content/CannonHardpoint.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/plasmapatrol/content/CannonHardpoint.qml')
-rw-r--r--demos/declarative/plasmapatrol/content/CannonHardpoint.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/demos/declarative/plasmapatrol/content/CannonHardpoint.qml b/demos/declarative/plasmapatrol/content/CannonHardpoint.qml
index fd49e4dd6d..b7572ef5c4 100644
--- a/demos/declarative/plasmapatrol/content/CannonHardpoint.qml
+++ b/demos/declarative/plasmapatrol/content/CannonHardpoint.qml
@@ -55,11 +55,11 @@ Item {
emitting: container.show
system: container.system
anchors.centerIn: parent
- particleDuration: 2000
- particlesPerSecond: 1
+ lifeSpan: 2000
+ emitRate: 1
- particleSize: 4
- particleEndSize: 0
+ size: 4
+ endSize: 0
}
function fireAt(targetArg, hardpoint){
@@ -85,10 +85,10 @@ Item {
system: container.system
anchors.centerIn: parent
- particleDuration: 1000
- particlesPerSecond: 1
- particleSize: 8
- particleEndSize: 4
+ lifeSpan: 1000
+ emitRate: 1
+ size: 8
+ endSize: 4
speed: TargetedDirection{
id: blastVector
targetX: target.x; targetY: target.y; magnitude: 1.1; proportionalMagnitude: true