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

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 ITEM_H
0013 #define ITEM_H
0014 
0015 #include "object.h"
0016 
0017 /**
0018 * @short This class represents a player with current position and several flags
0019 */
0020 class Item : public Object
0021 {
0022     public:
0023         Item();
0024         void setType(int type);
0025         int getType() const;
0026 
0027     private:
0028         int m_type;
0029 };
0030 
0031 #endif // ITEM_H
0032