Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3847 in orxonox.OLD for orxonox/trunk/src/simple_animation.h


Ignore:
Timestamp:
Apr 17, 2005, 2:01:28 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: naming of animation changed
Anim → Animation
tAnim → tAnimation
Animation → Animation3D

@paede: i hope you like it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/simple_animation.h

    r3752 r3847  
    1313#include "base_object.h"
    1414#include "list.h"
     15#include "animation_player.h"
    1516
    1617
     
    4142   This represents an animation for a object
    4243*/
    43 typedef struct Animation {
    44 
     44class Animation3D
     45{
     46 public:
    4547  WorldEntity* object;
    4648  Vector* lastPosition;
     
    6466*/
    6567class SimpleAnimation : public BaseObject {
    66  
    6768 public:
    6869  static SimpleAnimation* getInstance();
     
    9495  bool bRunning;                   //<! is set, when the animation is running
    9596  tList<KeyFrame>* frames;         //<! where keyframes are stored in
    96   tList<Animation>* animators;      //<! a list of animation's
     97  tList<Animation3D>* animators;      //<! a list of animation's
    9798  KeyFrame* currentFrame;          //<! the frame that is been played now
    9899  KeyFrame* lastFrame;
     
    104105  Vector* tmpVect;                 //<! this is the temporary vector save place -
    105106  WorldEntity* workingObject;      //<! this is a pointer to the current working object that has been selected via selectObject()
    106   Animation* workingAnimator;       //<! the animator with which you are currently working
     107  Animation3D* workingAnimator;       //<! the animator with which you are currently working
    107108  float deltaT;                    //<! this is a time constant for the movement
    108109
    109   Animation* getAnimationFromWorldEntity(WorldEntity* entity);
     110  Animation3D* getAnimationFromWorldEntity(WorldEntity* entity);
    110111
    111112};
Note: See TracChangeset for help on using the changeset viewer.