Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/orxonox/objects/BillboardSet.h @ 716

Last change on this file since 716 was 716, checked in by rgrieder, 16 years ago
  • merged all Vector3, etc. (incl. ColourValue) to misc/Math.h
File size: 932 bytes
Line 
1#ifndef _BillboardSet_H__
2#define _BillboardSet_H__
3
4#include <string>
5
6#include <OgreBillboardSet.h>
7
8#include "../OrxonoxPrereqs.h"
9
10#include "../core/CoreIncludes.h"
11#include "misc/ColourValue.h"
12#include "misc/Math.h"
13
14namespace orxonox
15{
16    class BillboardSet
17    {
18        public:
19            BillboardSet();
20            ~BillboardSet();
21            void setBillboardSet(const std::string& file, const ColourValue& colour = ColourValue(1.0, 1.0, 1.0), int count = 1, const Vector3& position = Vector3::ZERO);
22
23            inline Ogre::BillboardSet* getBillboardSet()
24                { return this->billboardSet_; }
25
26            inline const std::string& getName() const
27                { return this->billboardSet_->getName(); }
28
29        private:
30            static unsigned int billboardSetCounter_s;
31            Ogre::BillboardSet* billboardSet_;
32    };
33}
34
35#endif /* _BillboardSet_H__ */
Note: See TracBrowser for help on using the repository browser.