Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7020 in orxonox.OLD for trunk/src/util/game_rules.h


Ignore:
Timestamp:
Feb 3, 2006, 4:34:44 PM (18 years ago)
Author:
patrick
Message:

trunk: added the game rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/game_rules.h

    r7017 r7020  
    1111
    1212
     13class TiXmlElement;
     14class ObjectManager;
    1315
    1416
     
    1719
    1820  public:
    19     GameRules();
     21    GameRules(const TiXmlElement root);
    2022    virtual ~GameRules();
    2123
     24    virtual void loadParams(const TiXmlElement* root);
     25
     26
     27    virtual void tick(float dt) = 0;
     28
     29
    2230  private:
     31    ObjectManager*         pObjectManager;         //!< reference to the current Object Manager
     32};
    2333
    24 };
     34
     35#endif /* _GAME_RULES_H */
Note: See TracChangeset for help on using the changeset viewer.