Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 717 was 717, checked in by landauf, 16 years ago

some changes (yes! CHANGES! unbelievable! they exist! well, ok, not in politics)

File size: 901 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/Math.h"
12
13namespace orxonox
14{
15    class BillboardSet
16    {
17        public:
18            BillboardSet();
19            ~BillboardSet();
20            void setBillboardSet(const std::string& file, const ColourValue& colour = ColourValue(1.0, 1.0, 1.0), int count = 1, const Vector3& position = Vector3::ZERO);
21
22            inline Ogre::BillboardSet* getBillboardSet()
23                { return this->billboardSet_; }
24
25            inline const std::string& getName() const
26                { return this->billboardSet_->getName(); }
27
28        private:
29            static unsigned int billboardSetCounter_s;
30            Ogre::BillboardSet* billboardSet_;
31    };
32}
33
34#endif /* _BillboardSet_H__ */
Note: See TracBrowser for help on using the repository browser.