Aggiunta Collections per ridurre dimensione main
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#include "../../pieces/headers/piece_interface.hpp"
|
||||
#include "../../joints/headers/joint_interface.hpp"
|
||||
|
||||
#ifndef COLL_INTERFACE_H
|
||||
#define COLL_INTERFACE_H
|
||||
|
||||
struct collection{
|
||||
std::vector<PieceInterface*> pieces;
|
||||
std::vector<JointInterface*> joints;
|
||||
};
|
||||
|
||||
|
||||
class CollectionInterface{
|
||||
public:
|
||||
virtual collection create(ReferencePlane plane) = 0;
|
||||
virtual ~CollectionInterface(){};
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user