Changeset 8827 in orxonox.OLD for branches/multi_player_map/src/world_entities/spawning_point.h
- Timestamp:
- Jun 27, 2006, 2:46:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/multi_player_map/src/world_entities/spawning_point.h
r8820 r8827 20 20 { 21 21 float respawnTime; 22 WorldEntity* entity;22 Playable * entity; 23 23 }; 24 24 … … 45 45 public: 46 46 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);49 47 virtual ~SpawningPoint (); 50 48 void init(); … … 55 53 inline void setTeamId( int teamId ){ this->teamId = teamId; } 56 54 57 void pushEntity( WorldEntity* entity, float delay = 0);55 void pushEntity(Playable* entity, float delay = 0); 58 56 59 57 /** activates the spawning point */ … … 69 67 70 68 private: 71 void spawn( WorldEntity* entity);69 void spawn(Playable* entity); 72 70 73 71 void sendRespawnMessage( int uniqueId );
Note: See TracChangeset
for help on using the changeset viewer.