Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6959 in orxonox.OLD for trunk/src/world_entities/playable.h


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

trunk: merged network branche into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/playable.h

    r6871 r6959  
    1515
    1616class Weapon;
    17 
     17class DotEmitter;
    1818class Player;
     19class SpriteParticles;
    1920
    2021//! Basic controllable WorldEntity
     
    5859    int       readSync(byte* data, int maxLength );
    5960    bool      needsReadSync();
     61   
     62    inline void setScore( int score ) { this->score = score; }
     63    inline int  getScore() { return this->score; }
    6064
    6165  protected:
     
    7377    bool                  bFire;              //!< If the Ship is firing.
    7478    int                   oldFlags;           //!< Used for synchronisation
     79   
     80    int                   score;
     81    int                   oldScore;
    7582
     83    //HACK: explosion emitter
     84    DotEmitter*           emitter;
     85    SpriteParticles*      explosionParticles;
    7686};
    7787
Note: See TracChangeset for help on using the changeset viewer.