Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2008, 11:37:19 AM (16 years ago)
Author:
landauf
Message:

added some new graphical classes

Location:
code/branches/objecthierarchy/src/orxonox/objects/worldentities
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/Backlight.h

    r2027 r2044  
    3232#include "OrxonoxPrereqs.h"
    3333
    34 #include "WorldEntity.h"
     34#include "PositionableEntity.h"
    3535#include "tools/BillboardSet.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport Backlight : public WorldEntity
     39    class _OrxonoxExport Backlight : public PositionableEntity
    4040    {
    4141        public:
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/Model.h

    r2040 r2044  
    4747            virtual void changedVisibility();
    4848
     49            inline const Mesh& getMesh() const
     50                { return this->mesh_; }
     51
    4952            inline void setMeshSource(const std::string& meshname)
    5053                { this->meshSrc_ = meshname; this->changedMesh(); }
    5154            inline const std::string& getMeshSource() const
    5255                { return this->meshSrc_; }
    53             inline const Mesh& getMesh() const
    54                 { return this->mesh_; }
    5556
    5657            inline void setCastShadows(bool bCastShadows)
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/ParticleSpawner.h

    r2027 r2044  
    3232#include "OrxonoxPrereqs.h"
    3333
    34 #include "WorldEntity.h"
     34#include "PositionableEntity.h"
    3535#include "tools/Timer.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport ParticleSpawner : public WorldEntity
     39    class _OrxonoxExport ParticleSpawner : public PositionableEntity
    4040    {
    4141        public:
Note: See TracChangeset for help on using the changeset viewer.