Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/util/game_rules.h @ 7020

Last change on this file since 7020 was 7020, checked in by patrick, 18 years ago

trunk: added the game rules

File size: 534 bytes
Line 
1
2/*!
3 * @file game_rules.h
4 * Defines game rules for this game
5 */
6
7#ifndef _GAME_RULES_H
8#define _GAME_RULES_H
9
10#include "base_object.h"
11
12
13class TiXmlElement;
14class ObjectManager;
15
16
17class GameRules : public BaseObject
18{
19
20  public:
21    GameRules(const TiXmlElement root);
22    virtual ~GameRules();
23
24    virtual void loadParams(const TiXmlElement* root);
25
26
27    virtual void tick(float dt) = 0;
28
29
30  private:
31    ObjectManager*         pObjectManager;         //!< reference to the current Object Manager
32};
33
34
35#endif /* _GAME_RULES_H */
Note: See TracBrowser for help on using the repository browser.