Drawable.cpp 268 B

12345678910111213141516171819202122232425262728
  1. #include "Base.h"
  2. #include "Drawable.h"
  3. #include "Node.h"
  4. namespace gameplay
  5. {
  6. Drawable::Drawable()
  7. : _node(NULL)
  8. {
  9. }
  10. Drawable::~Drawable()
  11. {
  12. }
  13. Node* Drawable::getNode() const
  14. {
  15. return _node;
  16. }
  17. void Drawable::setNode(Node* node)
  18. {
  19. _node = node;
  20. }
  21. }