5#include <SDL3/SDL_render.h>
ComponentTypeID GetComponentTypeID_Static()
Vector GetCameraPositionForActivePlayer(short playerID=0) const
static CameraManager & Get()
static DataManager & Get()
bool PreloadSprite(const std::string &id, const std::string &path, ResourceCategory category=ResourceCategory::GameEntity)
static SDL_Renderer * renderer
Main SDL renderer.
void SetSize(float w, float h)
void GetSize(float &w, float &h) const
void SetBoundingbox(const SDL_FRect &box)
SDL_FRect GetBoundingBox() const
Vector GetPosition() const
bool Register(const std::string &className, CreatorFunction creator)
Enregistre une fonction de cr�ation pour un nom de classe donn�.
static ObjectFactory & Get()
bool Preload(const std::string &resourceName, const std::string &filePath)
virtual void RenderDebug() override
void SetSprite(SDL_Texture *texture)
SDL_Texture * m_SpriteTexture
static ObjectComponent * Create()
static bool FactoryRegistered
virtual void Render() override