Rev | Line | |
---|
[700] | 1 | #ifndef _LBBCLEAVES_H |
---|
| 2 | #define _LBBCLEAVES_H |
---|
| 3 | |
---|
| 4 | #include <BBC.h> |
---|
| 5 | #include <LBBCLeafDistribution.h> |
---|
| 6 | |
---|
| 7 | namespace LBBC { |
---|
| 8 | |
---|
| 9 | class _BBCExport Leaves { |
---|
| 10 | public: |
---|
| 11 | Leaves(); |
---|
| 12 | |
---|
[721] | 13 | virtual ~Leaves(); |
---|
[700] | 14 | |
---|
| 15 | protected: |
---|
| 16 | bool mMeshLoaded; |
---|
| 17 | |
---|
[721] | 18 | BBC::EntityPtr mEntity; |
---|
[700] | 19 | |
---|
| 20 | BBC::BillboardCloud *mBillboardCloud; |
---|
| 21 | |
---|
| 22 | public: |
---|
[721] | 23 | BBC::EntityPtr getEntity(); |
---|
[700] | 24 | |
---|
[721] | 25 | void setEntity(BBC::EntityPtr value); |
---|
[700] | 26 | |
---|
| 27 | void load(); |
---|
| 28 | |
---|
| 29 | void unload(); |
---|
| 30 | |
---|
| 31 | void setBillboardCloud(BBC::BillboardCloud *value); |
---|
| 32 | |
---|
| 33 | BBC::BillboardCloud* getBillboardCloud(); |
---|
| 34 | |
---|
| 35 | protected: |
---|
| 36 | LeafDistribution *mLeafDistribution; |
---|
| 37 | |
---|
| 38 | public: |
---|
| 39 | |
---|
| 40 | void addLeaf(const Leaf & value); |
---|
| 41 | |
---|
| 42 | void removeLeaf(unsigned int value); |
---|
| 43 | |
---|
| 44 | void initLeavesDistribution(); |
---|
| 45 | |
---|
| 46 | void initBillboardCloud(); |
---|
| 47 | |
---|
| 48 | LeafDistribution* getDistribution(); |
---|
| 49 | |
---|
| 50 | void setDistribution(LeafDistribution* leafDistribution); |
---|
| 51 | |
---|
| 52 | }; |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | } |
---|
| 56 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.