ElementGameInstancer.cpp 305 B

1234567891011121314
  1. #include "ElementGameInstancer.h"
  2. #include "ElementGame.h"
  3. ElementGameInstancer::~ElementGameInstancer() {}
  4. Rml::NodePtr ElementGameInstancer::InstanceNode(const Rml::String& tag)
  5. {
  6. return Rml::NodePtr(new ElementGame(tag));
  7. }
  8. void ElementGameInstancer::ReleaseNode(Rml::Node* node)
  9. {
  10. delete node;
  11. }