Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2005, 1:44:40 PM (18 years ago)
Author:
patrick
Message:

network: more constructor work, loadparam completed

File:
1 edited

Legend:

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

    r6087 r6088  
    2828  this->frequency = 0.5f;
    2929  this->seed = 0.0f;
    30   this->countDown = 0.0f;
     30
     31  this->init();
    3132}
    3233
     
    4344  this->classID = classID;
    4445  this->world = world;
     46
     47  this->init();
     48}
     49
     50
     51void SpawningPoint::init()
     52{
    4553  this->countDown = 0.0f;
    4654}
     
    7684  /* now load the seed */
    7785  LoadParam(root, "classid", this, SpawningPoint, setSpawningEntity)
    78       .describe("sets the random position seed (variance in the spawning location around the position)")
     86      .describe("sets the class id of the entity to spawn")
    7987      .defaultValues(1, CL_WORLD_ENTITY);
    8088}
Note: See TracChangeset for help on using the changeset viewer.