Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 27, 2006, 2:46:40 PM (18 years ago)
Author:
rennerc
Message:

SpawningPoint works now

File:
1 edited

Legend:

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

    r8820 r8827  
    2020{
    2121  float respawnTime;
    22   WorldEntity * entity;
     22  Playable * entity;
    2323};
    2424
     
    4545  public:
    4646    SpawningPoint(const TiXmlElement* root = NULL);
    47     SpawningPoint(ClassID classID, const Vector& position = Vector(0.0, 0.0, 0.0));
    48     SpawningPoint(const Vector& position, ClassID classID, SpawningPointMode type, float delay);
    4947    virtual ~SpawningPoint ();
    5048    void init();
     
    5553    inline void setTeamId( int teamId ){ this->teamId = teamId; }
    5654
    57     void pushEntity(WorldEntity* entity, float delay = 0);
     55    void pushEntity(Playable* entity, float delay = 0);
    5856
    5957    /** activates the spawning point */
     
    6967
    7068  private:
    71     void spawn(WorldEntity* entity);
     69    void spawn(Playable* entity);
    7270   
    7371    void sendRespawnMessage( int uniqueId );
Note: See TracChangeset for help on using the changeset viewer.