Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2008, 3:58:01 PM (15 years ago)
Author:
bhildebr
Message:

Completed code for class Scoreboard and fixed some compiler and linker errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/overlay/src/orxonox/overlays/stats/Scoreboard.h

    r2225 r2320  
    4444
    4545    public: // functions
    46         Scoreboard();
    47         ~Scoreboard();
     46        Scoreboard(BaseObject* creator);
     47        ~Scoreboard() {}
     48
     49        inline void setGametype(Gametype* gt)
     50            { this->gametype_ = gt; }
     51        inline Gametype* getGametype() const
     52            { return this->gametype_; }
     53
     54        inline void setCreateLines(CreateLines* cl)
     55            { this->createlines_ = cl; }
     56        inline CreateLines* getCreateLines() const
     57            { return this->createlines_; }
    4858
    4959    private: // functions
    50        
     60        void printLines();
    5161
    5262    private: // variables
    53        
    54 
     63        unsigned int numberOfColumns;
     64        unsigned int numberOfLines;
     65        unsigned int columnIndex;
     66        float topOffset;
     67        float leftOffset;
     68        float lineSpacing;
     69        std::string columnText;
     70        Gametype* gametype_;
     71        CreateLines* createlines_;
    5572    };
    5673}
Note: See TracChangeset for help on using the changeset viewer.