Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2014, 3:25:44 PM (11 years ago)
Author:
landauf
Message:

ParticleEmitter should be a StaticEntity just like every other graphics class. If it needs to move, attach it to a movable entity.

Location:
code/trunk/src/orxonox/graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/graphics/ParticleEmitter.cc

    r9939 r9950  
    4545    RegisterClass(ParticleEmitter);
    4646
    47     ParticleEmitter::ParticleEmitter(Context* context) : MovableEntity(context)
     47    ParticleEmitter::ParticleEmitter(Context* context) : StaticEntity(context)
    4848    {
    4949        RegisterObject(ParticleEmitter);
  • code/trunk/src/orxonox/graphics/ParticleEmitter.h

    r9939 r9950  
    3333
    3434#include <string>
    35 #include "worldentities/MovableEntity.h"
     35#include "worldentities/StaticEntity.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport ParticleEmitter : public MovableEntity
     39    class _OrxonoxExport ParticleEmitter : public StaticEntity
    4040    {
    4141        public:
Note: See TracChangeset for help on using the changeset viewer.