aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/samegame/content/GameArea.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/demos/samegame/content/GameArea.qml')
-rw-r--r--examples/quick/demos/samegame/content/GameArea.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/demos/samegame/content/GameArea.qml b/examples/quick/demos/samegame/content/GameArea.qml
index 6e72161320..cf66014fa3 100644
--- a/examples/quick/demos/samegame/content/GameArea.qml
+++ b/examples/quick/demos/samegame/content/GameArea.qml
@@ -41,6 +41,7 @@
import QtQuick 2.0
import QtQuick.Particles 2.0
import "samegame.js" as Logic
+import "."
Item {
id: gameCanvas
@@ -54,6 +55,7 @@ Item {
property alias backgroundVisible: bg.visible
property string background: "gfx/background.png"
property string blockFile: "Block.qml"
+ property int blockSize: Settings.blockSize
onBlockFileChanged: Logic.changeBlock(blockFile);
property alias particlePack: auxLoader.source
//For multiplayer