A small game engine for 2D games based of Raylib
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

17 строки
332 B

6 месяцев назад
  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. }