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 #ifndef MOCKFIELD_H
0008 #define MOCKFIELD_H
0009 
0010 #include "FieldInterface.h"
0011 
0012 class MockField : public FieldInterface
0013 {
0014 public:
0015     MockField() : FieldInterface() {}
0016     ~MockField() override = default;
0017 
0018 public:
0019     bool getCell(int, int) override { return false; }
0020 
0021     int getWidth() override { return 0; }
0022     int getHeight() override { return 0; }
0023 };
0024 
0025 #endif //MOCKFIELD_H