A small game engine for 2D games based of Raylib
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

17 rindas
332 B

pirms 9 mēnešiem
  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. }