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.
|
#pragma once
|
|
|
|
#include "entity.h"
|
|
#include "raylib.h"
|
|
|
|
namespace ant::entities::utilities {
|
|
|
|
struct background_entity : public ant::core::entity {
|
|
background_entity(const std::shared_ptr<entity>& parent, Color color)
|
|
: ant::core::entity(parent)
|
|
, m_color(color)
|
|
{}
|
|
void render() final;
|
|
private:
|
|
Color m_color;
|
|
};
|
|
|
|
}
|