File indexing completed on 2025-03-09 03:46:22
0001 /******************************************************************* 0002 * 0003 * This file is part of the KDE project "Bovo" 0004 * 0005 * Bovo is free software; you can redistribute it and/or modify 0006 * it under the terms of the GNU General Public License as published by 0007 * the Free Software Foundation; either version 2, or (at your option) 0008 * any later version. 0009 * 0010 * Bovo is distributed in the hope that it will be useful, 0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0013 * GNU General Public License for more details. 0014 * 0015 * You should have received a copy of the GNU General Public License 0016 * along with Bovo; see the file COPYING. If not, write to 0017 * the Free Software Foundation, 51 Franklin Street, Fifth Floor, 0018 * Boston, MA 02110-1301, USA. 0019 * 0020 ********************************************************************/ 0021 0022 #include "aisquare.h" 0023 0024 using namespace bovo; 0025 0026 namespace ai { 0027 0028 AiSquare::AiSquare() : Square(), m_points(0), m_status(true) { 0029 } 0030 0031 uli AiSquare::points() const { 0032 return m_points; 0033 } 0034 0035 void AiSquare::setPoints(uli points) { 0036 m_points = points; 0037 } 0038 0039 bool AiSquare::status() const { 0040 return m_status; 0041 } 0042 0043 void AiSquare::setStatus(bool status) { 0044 m_status = status; 0045 } 0046 0047 } /* namespace ai */ 0048