Last change
on this file since 715 was
715,
checked in by rgrieder, 16 years ago
|
- the master has spoken…
- misc/String.h is not anymore..
|
File size:
935 bytes
|
Rev | Line | |
---|
[673] | 1 | #ifndef _BillboardSet_H__ |
---|
| 2 | #define _BillboardSet_H__ |
---|
| 3 | |
---|
[715] | 4 | #include <string> |
---|
| 5 | |
---|
[708] | 6 | #include <OgreBillboardSet.h> |
---|
[633] | 7 | |
---|
[708] | 8 | #include "../OrxonoxPrereqs.h" |
---|
[633] | 9 | |
---|
[708] | 10 | #include "../core/CoreIncludes.h" |
---|
| 11 | #include "misc/ColourValue.h" |
---|
| 12 | #include "misc/Vector3.h" |
---|
| 13 | |
---|
[633] | 14 | namespace orxonox |
---|
| 15 | { |
---|
| 16 | class BillboardSet |
---|
| 17 | { |
---|
| 18 | public: |
---|
| 19 | BillboardSet(); |
---|
| 20 | ~BillboardSet(); |
---|
[715] | 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); |
---|
[633] | 22 | |
---|
| 23 | inline Ogre::BillboardSet* getBillboardSet() |
---|
| 24 | { return this->billboardSet_; } |
---|
| 25 | |
---|
[715] | 26 | inline const std::string& getName() const |
---|
[633] | 27 | { return this->billboardSet_->getName(); } |
---|
| 28 | |
---|
| 29 | private: |
---|
| 30 | static unsigned int billboardSetCounter_s; |
---|
| 31 | Ogre::BillboardSet* billboardSet_; |
---|
| 32 | }; |
---|
| 33 | } |
---|
| 34 | |
---|
[673] | 35 | #endif /* _BillboardSet_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.