A small game engine for 2D games based of Raylib
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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