Saxum/converter/converter.hh
2014-11-24 13:03:55 +01:00

18 lines
607 B
C++

#ifndef CONVERTER_INCLUDED
#define CONVERTER_INCLUDED
#include <vector>
#include "tinyxml2.hh"
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