Line | |
---|
1 | #ifndef _BBCENTITYCLUSTER_H |
---|
2 | #define _BBCENTITYCLUSTER_H |
---|
3 | |
---|
4 | #include <BBCPrerequisites.h> |
---|
5 | #include <BBCEntity.h> |
---|
6 | #include <BBCEntityClusterData.h> |
---|
7 | #include <BBCEntityDistribution.h> |
---|
8 | |
---|
9 | #include <vector> |
---|
10 | |
---|
11 | namespace BBC { |
---|
12 | |
---|
13 | class _BBCExport EntityCluster { |
---|
14 | public: |
---|
15 | EntityCluster(); |
---|
16 | |
---|
17 | ~EntityCluster(); |
---|
18 | |
---|
19 | EntityClusterData* getEntityClusterData(unsigned int value); |
---|
20 | |
---|
21 | void addEntityClusterData(EntityClusterData *value); |
---|
22 | |
---|
23 | void removeEntitClusterData(unsigned int value); |
---|
24 | |
---|
25 | EntityDistribution* getEntityDistribution(); |
---|
26 | |
---|
27 | void setEntityDistribution(EntityDistribution *value); |
---|
28 | |
---|
29 | protected: |
---|
30 | |
---|
31 | EntityDistribution *mEntityDistribution; |
---|
32 | |
---|
33 | std::vector<EntityClusterData*> mEntityClusterDataList; |
---|
34 | |
---|
35 | std::vector<unsigned int> mBillboarHandle; |
---|
36 | |
---|
37 | Entity *mEntity; |
---|
38 | |
---|
39 | unsigned int mBillboardHandle; |
---|
40 | |
---|
41 | public: |
---|
42 | |
---|
43 | Entity* getEntity(); |
---|
44 | |
---|
45 | void setEntity(Entity* value); |
---|
46 | |
---|
47 | unsigned int getNumEntitiesClusterData(); |
---|
48 | |
---|
49 | unsigned int getBillboardHandle(); |
---|
50 | |
---|
51 | void setBillboardHandle(unsigned int value); |
---|
52 | |
---|
53 | void generateEntityCluster(); |
---|
54 | |
---|
55 | }; |
---|
56 | |
---|
57 | } |
---|
58 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.