Manager.h 351 B

123456789101112131415161718192021
  1. #pragma once
  2. #include <memory>
  3. #include <string>
  4. namespace Gfx
  5. {
  6. class CImage;
  7. class CAnimation;
  8. typedef std::shared_ptr<CImage> PImage;
  9. typedef std::shared_ptr<CAnimation> PAnimation;
  10. class CManager
  11. {
  12. public:
  13. static PImage getImage(const std::string& fname);
  14. static PAnimation getAnimation(const std::string& fname);
  15. };
  16. }