Changeset 3794 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Apr 13, 2005, 3:44:38 PM (20 years ago)
- Location:
- orxonox/trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3790 r3794 38 38 #include "garbage_collector.h" 39 39 #include "simple_animation.h" 40 #include "animation.h" 40 41 41 42 #include "command_node.h" … … 368 369 testText->setBindNode(tn); 369 370 370 /* 371 tmpAnim = new Animation<Text>(testText, &Text::setBlending); 372 tmpAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR); 373 tmpAnim->addKeyFrame(1.0, 1.0, ANIM_LINEAR); 374 tmpAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR); 375 tmpAnim->addKeyFrame(1.0, 1.0, ANIM_LINEAR); 376 tmpAnim->setInfinity(ANIM_INF_CONSTANT, ANIM_INF_REWIND); 377 */ 371 testAnim = new tAnim<Text>(testText, &Text::setBlending); 372 testAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR); 373 testAnim->addKeyFrame(1.0, 1.0, ANIM_LINEAR); 374 testAnim->addKeyFrame(0.0, 1.0, ANIM_LINEAR); 375 testAnim->addKeyFrame(1.0, 1.0, ANIM_LINEAR); 376 testAnim->setInfinity(ANIM_INF_REWIND); 377 378 378 break; 379 379 } … … 939 939 this->garbageCollector->tick(seconds); 940 940 this->simpleAnimation->tick(seconds); 941 942 // testAnim->tick(seconds); 941 943 942 944 } -
orxonox/trunk/src/story_entities/world.h
r3790 r3794 24 24 class GarbageCollector; 25 25 class SimpleAnimation; 26 26 class Anim; 27 27 class Text; 28 28 … … 99 99 GLMenuImageScreen* glmis; //!< The Level-Loader Display 100 100 101 Anim* testAnim; 101 102 Text* testText; //!< A text to Test the TextEngine; 102 103
Note: See TracChangeset
for help on using the changeset viewer.