File indexing completed on 2024-04-28 04:04:39

0001 /*
0002     This file is part of the game 'KTron'
0003 
0004     SPDX-FileCopyrightText: 1998-2000 Matthias Kiefer <matthias.kiefer@gmx.de>
0005     SPDX-FileCopyrightText: 2005 Benjamin C. Meyer <ben at meyerhome dot net>
0006     SPDX-FileCopyrightText: 2008-2009 Stas Verberkt <legolas at legolasweb dot nl>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 
0010 */
0011 
0012 #ifndef OBSTACLE_H
0013 #define OBSTACLE_H
0014 
0015 #include "object.h"
0016 
0017 /**
0018 * @short This class represents a player with current position and several flags
0019 */
0020 class Obstacle : public Object
0021 {
0022     public:
0023         enum Type {
0024             Bush
0025         };
0026 
0027         Obstacle();
0028         Obstacle::Type getType() const;
0029         void setType(Obstacle::Type t);
0030 
0031     private:
0032         Type m_type;
0033 };
0034 
0035 #endif // OBSTACLE_H
0036