Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 1, 2006, 4:20:47 PM (20 years ago)
Author:
rennerc
Message:

added score to playable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/playable.h

    r6950 r6955  
    5959    int       readSync(byte* data, int maxLength );
    6060    bool      needsReadSync();
     61   
     62    inline void setScore( int score ) { this->score = score; }
     63    inline int  getScore() { return this->score; }
    6164
    6265  protected:
     
    7477    bool                  bFire;              //!< If the Ship is firing.
    7578    int                   oldFlags;           //!< Used for synchronisation
     79   
     80    int                   score;
     81    int                   oldScore;
    7682
    7783    //HACK: explosion emitter
Note: See TracChangeset for help on using the changeset viewer.