File indexing completed on 2024-05-05 04:02:27
0001 /****************************************************************************** 0002 * KBlocks, a falling blocks game by KDE * 0003 * SPDX-FileCopyrightText: 2010-2021 Julian Helfferich <julian.helfferich@mailbox.org> * 0004 * * 0005 * SPDX-License-Identifier: GPL-2.0-or-later 0006 ******************************************************************************/ 0007 0008 #ifndef TESTINGKBLOCKSWIN_H 0009 #define TESTINGKBLOCKSWIN_H 0010 0011 #include "KBlocksWin.h" 0012 #include "SceneInterface.h" 0013 0014 class GameLogicInterface; 0015 class GraphicsInterface; 0016 class KBlocksPlayManager; 0017 class SoundInterface; 0018 0019 class TestingKBlocksWin : private KBlocksWin 0020 { 0021 public: 0022 TestingKBlocksWin( 0023 GameLogicInterface *p, 0024 GraphicsInterface *graphics, 0025 SoundInterface *sound, 0026 KGameThemeProvider *themeProvider, 0027 KBlocksPlayManager *pM, 0028 int capacity, 0029 int gamecount 0030 ); 0031 ~TestingKBlocksWin() override = default; 0032 0033 void callStopGame(); 0034 void replaceScene(SceneInterface *newScene); 0035 }; 0036 0037 #endif // TESTINGKBLOCKSWIN_H