A small game engine for 2D games based of Raylib
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
332 B

  1. #pragma once
  2. #include "entity.h"
  3. #include "raylib.h"
  4. namespace ant::entities::utilities {
  5. struct background_entity : public ant::core::entity {
  6. background_entity(const std::shared_ptr<entity>& parent, Color color)
  7. : ant::core::entity(parent)
  8. , m_color(color)
  9. {}
  10. void render() final;
  11. private:
  12. Color m_color;
  13. };
  14. }