Changeset 111 for trunk/src/font.h


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

The frame counter is now an asset object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/font.h

    r100 r111  
    1212#define __DH_FONT_H__
    1313
     14#include "asset.h"
     15
    1416class FontData;
    1517
    16 class Font
     18class Font : public Asset
    1719{
    1820public:
    1921    Font(char const *path);
    2022    ~Font();
     23
     24protected:
     25    /* Inherited from Asset */
     26    virtual Group GetGroup();
     27    virtual void TickRender(float delta_time);
     28
     29public:
     30    /* New methods */
     31    char const *GetName();
    2132
    2233    void Print(int x, int y, char const *str);
Note: See TracChangeset for help on using the changeset viewer.