- Timestamp:
- Jan 31, 2015, 5:31:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS14/src/modules/jump/JumpPlatformTimer.cc
r10078 r10215 75 75 { 76 76 77 78 77 particleSpawner_ = new ParticleSpawner(getContext()); 78 particleSpawner_->setSource(effectPath_); 79 79 particleSpawner_->setLoop(false); 80 80 particleSpawner_->setLOD(LODParticle::Low); … … 87 87 void JumpPlatformTimer::setProperties(float time) 88 88 { 89 89 time_ = time; 90 90 } 91 91 92 92 bool JumpPlatformTimer::isActive(void) 93 93 { 94 94 return time_ > 0.0; 95 95 } 96 96 97 97 void JumpPlatformTimer::touchFigure() 98 98 { 99 100 101 102 99 if (isActive()) 100 { 101 figure_->JumpFromPlatform(this); 102 } 103 103 } 104 104 }
Note: See TracChangeset
for help on using the changeset viewer.