BlockRenderers.h 375 B

123456789101112131415161718192021
  1. #ifndef BLOCKRENDERERS_H
  2. #define BLOCKRENDERERS_H
  3. #include "common/block/Block.h"
  4. #include "client/rendering/block/BlockRenderer.h"
  5. class BlockRenderers
  6. {
  7. public:
  8. static const BlockRenderer& getBlockRenderer(BlockId id);
  9. static void init();
  10. private:
  11. BlockRenderers();
  12. static const int RENDERER_AMOUNT;
  13. static BlockRenderer RENDERER[];
  14. };
  15. #endif