Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/input/src/orxonox/objects/Model.h @ 990

Last change on this file since 990 was 969, checked in by rgrieder, 17 years ago
  • removed some unnecessary forward declarations
  • renamed destroy() —> destroySingleton()
File size: 695 bytes
RevLine 
[576]1#ifndef _Model_H__
2#define _Model_H__
3
[708]4#include "../OrxonoxPrereqs.h"
5
[576]6#include "WorldEntity.h"
[768]7#include "../tools/Mesh.h"
[576]8
9namespace orxonox
10{
[708]11
[729]12    class _OrxonoxExport Model : public WorldEntity
[576]13    {
14        public:
15            Model();
[646]16            virtual ~Model();
[576]17            virtual void loadParams(TiXmlElement* xmlElem);
[871]18            virtual void XMLPort(Element& xmlelement, bool loading);
19            void setMesh(const std::string& meshname);
[630]20            bool create();
[576]21
[927]22        protected:
23            void registerAllVariables();
24           
[576]25        private:
[715]26            std::string meshSrc_;
[576]27            Mesh mesh_;
28    };
29}
30
[673]31#endif /* _Model_H__ */
Note: See TracBrowser for help on using the repository browser.