Last change
on this file since 7138 was
7035,
checked in by patrick, 19 years ago
|
trunk: game rules loading problems
|
File size:
752 bytes
|
Rev | Line | |
---|
[7017] | 1 | /* |
---|
| 2 | orxonox - the future of 3D-vertical-scrollers |
---|
| 3 | |
---|
| 4 | Copyright (C) 2004 orx |
---|
| 5 | |
---|
| 6 | This program is free software; you can redistribute it and/or modify |
---|
| 7 | it under the terms of the GNU General Public License as published by |
---|
| 8 | the Free Software Foundation; either version 2, or (at your option) |
---|
| 9 | any later version. |
---|
| 10 | |
---|
| 11 | ### File Specific: |
---|
| 12 | main-programmer: Patrick Boenzli |
---|
| 13 | */ |
---|
| 14 | |
---|
[7020] | 15 | #define DEBUG_MODULE_GAME_RULES |
---|
[7017] | 16 | |
---|
| 17 | #include "game_rules.h" |
---|
| 18 | |
---|
[7020] | 19 | #include "load_param.h" |
---|
[7017] | 20 | |
---|
[7020] | 21 | |
---|
[7017] | 22 | using namespace std; |
---|
| 23 | |
---|
| 24 | |
---|
[7020] | 25 | /** |
---|
| 26 | * constructor |
---|
| 27 | */ |
---|
[7035] | 28 | GameRules::GameRules(const TiXmlElement* root) |
---|
| 29 | { |
---|
| 30 | this->setClassID(CL_GAME_RULES, "GameRules"); |
---|
| 31 | } |
---|
[7017] | 32 | |
---|
[7020] | 33 | /** |
---|
| 34 | * decontsructor |
---|
| 35 | */ |
---|
[7017] | 36 | GameRules::~GameRules() |
---|
| 37 | {} |
---|
[7020] | 38 | |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | void GameRules::loadParams(const TiXmlElement* root) |
---|
[7035] | 42 | { |
---|
| 43 | BaseObject::loadParams(root); |
---|
| 44 | } |
---|
[7020] | 45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.