Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 650 was 633, checked in by landauf, 17 years ago

added blinkies :D

File size: 806 bytes
RevLine 
[633]1#include <string>
2
3#include "OgreBillboardSet.h"
4
5#ifndef _BillboardSet_H__
6#define _BillboardSet_H__
7
8namespace orxonox
9{
10    class BillboardSet
11    {
12        public:
13            BillboardSet();
14            ~BillboardSet();
15            void setBillboardSet(const std::string& file, const Ogre::ColourValue& colour = Ogre::ColourValue(1.0, 1.0, 1.0), int count = 1, const Ogre::Vector3& position = Ogre::Vector3::ZERO);
16
17            inline Ogre::BillboardSet* getBillboardSet()
18                { return this->billboardSet_; }
19
20            inline const std::string& getName() const
21                { return this->billboardSet_->getName(); }
22
23        private:
24            static unsigned int billboardSetCounter_s;
25            Ogre::BillboardSet* billboardSet_;
26    };
27}
28
29#endif
Note: See TracBrowser for help on using the repository browser.