Changeset 6093 in orxonox.OLD for branches/network/src/world_entities/spawning_point.h
- Timestamp:
- Dec 14, 2005, 1:10:45 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/spawning_point.h
r6088 r6093 17 17 18 18 public: 19 SpawningPoint ( const Vector& absCoordinate = Vector(0.0, 0.0, 0.0), const World* world);20 SpawningPoint (const Vector& position, float frequency, float seed, int classID, constWorld* world);19 SpawningPoint (World* world, const Vector& absCoordinate = Vector(0.0, 0.0, 0.0)); 20 SpawningPoint (const Vector& position, float frequency, float seed, ClassID classID, World* world); 21 21 virtual ~SpawningPoint (); 22 22 void init(); … … 25 25 26 26 /** sets the entity that is going to be spawned by this point @param classID: the id from the class_id.h file */ 27 void SpawningPoint::setSpawningEntity( intclassID) { this->classID = classID; }27 void SpawningPoint::setSpawningEntity(ClassID classID) { this->classID = classID; } 28 28 /** sets the frequency with which the point is going to spawn entities (1/sec) @param frequency: the frequency */ 29 29 void SpawningPoint::setSpawningFrequency(float frequency) { this->frequency = frequency; } … … 40 40 float countDown; //!< the timer that counts down until the next spawn 41 41 float seed; //!< the random seed of the position 42 intclassID; //!< the classid of the entity to spawn43 42 ClassID classID; //!< the classid of the entity to spawn 43 World* world; //!< reference to the world it belongs to (or in the future: the object manager) 44 44 45 45 };
Note: See TracChangeset
for help on using the changeset viewer.