9
property string tileText: ""
10
property int tileFontSize: 55
11
property color tileColor: "black"
12
property int moveAnimTime: 100
13
property int newTileAnimTime: 200
14
property bool runNewTileAnim: false
15
property bool destroyFlag: false
17
FontLoader { id: localFont; source: "qrc:///fonts/DroidSansFallback.ttf" }
23
font.family: localFont.name
24
font.pixelSize: tileFontSize
26
anchors.centerIn: parent
28
PropertyAnimation { target: tileContainer
32
duration: moveAnimTime
38
running: runNewTileAnim
44
duration: newTileAnimTime
51
duration: newTileAnimTime
52
easing.type: Easing.OutQuad
58
duration: moveAnimTime
64
duration: moveAnimTime
66
if ((!running) && destroyFlag) {
67
tileContainer.destroy();
75
duration: moveAnimTime
77
if ((!running) && destroyFlag) {
78
tileContainer.destroy();