13 |
|
|
14 |
|
class StuntDouble { |
15 |
|
public: |
16 |
+ |
virtual ~StuntDouble(); |
17 |
|
|
18 |
|
int getObjType(); |
19 |
|
|
70 |
|
virtual bool isLinear() {return false;} |
71 |
|
virtual int linearAxis() {return -1;} |
72 |
|
|
73 |
+ |
virtual double getZangle(); |
74 |
+ |
virtual void setZangle(double zAngle); |
75 |
+ |
virtual void addZangle(double zAngle); |
76 |
|
|
77 |
|
virtual void accept(BaseVisitor* v) = 0; |
78 |
|
|
82 |
|
|
83 |
|
protected: |
84 |
|
StuntDouble(){} |
85 |
+ |
|
86 |
+ |
//prevent default copy constructor copy information from properties which will cause problem |
87 |
+ |
StuntDouble(const StuntDouble& sd){ |
88 |
+ |
objType = sd.objType; |
89 |
+ |
} |
90 |
+ |
|
91 |
|
int objType; |
92 |
|
|
93 |
|
map<string, GenericData*> properties; |