Changeset 106 for trunk/src/game.h


Ignore:
Timestamp:
Aug 14, 2010, 11:15:39 PM (11 years ago)
Author:
sam
Message:

Make the Game class an asset like the others.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/game.h

    r102 r106  
    1212#define __DH_GAME_H__
    1313
     14#include "asset.h"
     15
    1416class GameData;
    1517
    16 class Game
     18class Game : public Asset
    1719{
    1820public:
     
    2022    ~Game();
    2123
     24protected:
     25    /* Inherited from Asset */
     26    virtual Group GetGroup();
     27    virtual void TickGame(float delta_time);
     28    virtual void TickRender(float delta_time);
     29
     30public:
     31    /* New methods */
    2232    void SetMouse(int x, int y);
    23     void Render();
    2433    void Quit();
    2534    int Finished();
Note: See TracChangeset for help on using the changeset viewer.