- Timestamp:
- Sep 25, 2015, 1:56:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseFabien/src/modules/weapons/weaponmodes/SplitGun.cc
r10592 r10594 21 21 * 22 22 * Author: 23 * Joel Smely23 * Fabien Vultier 24 24 * Co-authors: 25 * simonmie25 * ... 26 26 * 27 27 */ … … 69 69 /** 70 70 @brief 71 XMLPort for the SplitGun. You can define how often the projectiles split, how many childs should be created per split and the time between two splits.71 XMLPort for the SplitGun. You can define how often the projectiles split, how many childs should be created per split, the spread and the time between two splits. 72 72 */ 73 73 void SplitGun::XMLPort(Element& xmlelement, XMLPort::Mode mode) … … 95 95 projectile->setVelocity(this->getMuzzleDirection() * this->speed_); 96 96 97 // Pass important information to the projectile: Number of splits, Number of childs, split time, spread 97 98 projectile->setNumberOfSplits(getNumberOfSplits()); 98 99 projectile->setNumberOfChilds(getNumberOfChilds());
Note: See TracChangeset
for help on using the changeset viewer.