2 * This file includes the implementation of the item specific classes
4 * Copyright (C) 2008 David Kolossa
6 * This file is part of OpenStranded
8 * OpenStranded is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
13 * OpenStranded is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with OpenStranded. If not, see <http://www.gnu.org/licenses/>.
25 * These are the declarations of the ItemEntity class
28 ItemEntity::ItemEntity (ID type
):
34 * These are the declarations of the ItemType class
37 ItemType::ItemType (const char* name
):
43 * ItemKingdom class methods
46 ItemKingdom::ItemKingdom ():
52 ItemKingdom::createEntity (ID type
)
54 return new ItemEntity (type
);
59 ItemKingdom::createType (const char* name
)
61 return new ItemType (name
);