2014-11-21 14:43:27 +00:00
|
|
|
#ifndef CONVERTER_INCLUDED
|
|
|
|
#define CONVERTER_INCLUDED
|
|
|
|
#include <vector>
|
2014-11-24 12:03:55 +00:00
|
|
|
#include "tinyxml2.hh"
|
2014-11-21 14:43:27 +00:00
|
|
|
|
|
|
|
class Converter {
|
|
|
|
public:
|
|
|
|
Converter();
|
|
|
|
~Converter();
|
|
|
|
void updateComposition(unsigned int type, unsigned int idG, unsigned int idB, unsigned int posX, unsigned int posZ);
|
|
|
|
std::vector<unsigned int> newComposition(unsigned int type, unsigned int posX, unsigned int posZ);
|
|
|
|
void deleteComposition(unsigned int idG, unsigned int idB);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void newObject(unsigned int type, unsigned int idG, unsigned int idB, unsigned int posX, unsigned int posZ);
|
|
|
|
};
|
|
|
|
#endif
|