minor refactoring

This commit is contained in:
devZoGok
2023-12-04 19:57:42 +02:00
parent 40666f39a6
commit 4bf013f9bb
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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];}
+1
View File
@@ -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;}