Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 26, 2006, 3:48:47 PM (19 years ago)
Author:
rennerc
Message:

network changes

File:
1 edited

Legend:

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

    r8068 r8798  
    5050    /** sets the spawning point mode @param mode: the mode */
    5151    void SpawningPoint::setSpawningMode(int mode) { this->mode = (SpawningPointMode)mode; }
     52   
     53    inline int getTeamId(){ return this->teamId; }
     54    inline void setTeamId( int teamId ){ this->teamId = teamId; }
    5255
    5356    void pushEntity(WorldEntity* entity, float delay = 0);
     
    7275    float                           localTimer;                     //!< the local timer
    7376    float                           seed;                           //!< the random seed of the position
     77    int                             teamId;                         //!< only spawn players of this team
    7478    ClassID                         classid;                        //!< the classid of the entity to spawn
    7579    SpawningPointMode               mode;                           //!< the mode of the spawning point
Note: See TracChangeset for help on using the changeset viewer.