mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
minor refactoring
This commit is contained in:
@@ -52,6 +52,7 @@ namespace vb01{
|
||||
inline std::vector<Skeleton*>& getSkeletons(){return skeletons;}
|
||||
inline Mesh* getMesh(int i){return meshes[i];}
|
||||
inline int getNumMeshes(){return meshes.size();}
|
||||
inline ParticleEmitter* getParticleEmitter(int i){return emitters[i];}
|
||||
inline Node* getParent(){return parent;}
|
||||
inline void setParent(Node *par){this->parent = par;}
|
||||
inline Node* getChild(int i){return children[i];}
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace vb01{
|
||||
ParticleEmitter() : Animatable(Animatable::NONE){}
|
||||
~ParticleEmitter();
|
||||
void update();
|
||||
inline Material* getMaterial(){return material;}
|
||||
inline void setMaterial(Material *mat){this->material = mat;}
|
||||
inline void setNode(Node *node){this->node = node;}
|
||||
inline void setSize(Vector2 size){this->size = size;}
|
||||
|
||||
Reference in New Issue
Block a user