A small game engine for 2D games based of Raylib
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
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. }