SVN_SILENT made messages (.desktop file)
[kdegames.git] / bovo / ai / aisquare.cc
blobea4d443637e501acfde25c839e49b024e4121c9a
1 /*******************************************************************
3 * This file is part of the KDE project "Bovo"
5 * Bovo 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, or (at your option)
8 * any later version.
10 * Bovo is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with Bovo; see the file COPYING. If not, write to
17 * the Free Software Foundation, 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
20 ********************************************************************/
22 #include "aisquare.h"
24 using namespace bovo;
26 namespace ai {
28 AiSquare::AiSquare() : Square(), m_points(0), m_status(true) {
31 uli AiSquare::points() const {
32 return m_points;
35 void AiSquare::setPoints(uli points) {
36 m_points = points;
39 bool AiSquare::status() const {
40 return m_status;
43 void AiSquare::setStatus(bool status) {
44 m_status = status;
47 } /* namespace ai */