1 | /*************************************************************************** |
2 | * KBlocks, a falling blocks game for KDE * |
3 | * Copyright (C) 2010 Zhongjie Cai <squall.leonhart.cai@gmail.com> * |
4 | * * |
5 | * This program is free software; you can redistribute it and/or modify * |
6 | * it under the terms of the GNU General Public License as published by * |
7 | * the Free Software Foundation; either version 2 of the License, or * |
8 | * (at your option) any later version. * |
9 | ***************************************************************************/ |
10 | #include "KBlocksAppThread.h" |
11 | |
12 | KBlocksAppThread::KBlocksAppThread(KBlocksPlayNetwork * p) |
13 | { |
14 | mPlayNetwork = p; |
15 | } |
16 | |
17 | KBlocksAppThread::~KBlocksAppThread() |
18 | { |
19 | } |
20 | |
21 | void KBlocksAppThread::run() |
22 | { |
23 | mPlayNetwork->execute(); |
24 | } |
25 | |