Last change
on this file since 680 was
673,
checked in by rgrieder, 17 years ago
|
- deleted obsolete classes: BaseEntity, Entity, Light and SceneNode (please complain if not agreed)
- improved include guard naming consistency
|
File size:
830 bytes
|
Line | |
---|
1 | #ifndef _BillboardSet_H__ |
---|
2 | #define _BillboardSet_H__ |
---|
3 | |
---|
4 | #include <string> |
---|
5 | |
---|
6 | #include "OgreBillboardSet.h" |
---|
7 | |
---|
8 | namespace 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 /* _BillboardSet_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.