Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/hud2/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
Line 
1#ifndef _Model_H__
2#define _Model_H__
3
4#include "../OrxonoxPrereqs.h"
5
6#include "WorldEntity.h"
7#include "../tools/Mesh.h"
8
9namespace orxonox
10{
11
12    class _OrxonoxExport Model : public WorldEntity
13    {
14        public:
15            Model();
16            virtual ~Model();
17            virtual void loadParams(TiXmlElement* xmlElem);
18            virtual void XMLPort(Element& xmlelement, bool loading);
19            void setMesh(const std::string& meshname);
20            bool create();
21
22        protected:
23            void registerAllVariables();
24           
25        private:
26            std::string meshSrc_;
27            Mesh mesh_;
28    };
29}
30
31#endif /* _Model_H__ */
Note: See TracBrowser for help on using the repository browser.