bfff, a casa a meitat enfangà.. be..

Estic acabant de convertir Title
This commit is contained in:
2025-03-03 14:26:07 +01:00
parent 8f1d1df5d6
commit c9e75ad5c8
9 changed files with 190 additions and 81 deletions

View File

@@ -78,6 +78,7 @@ public:
// Limpia la pantalla
void clean(Color color = {0x00, 0x00, 0x00});
void clean(Uint8 index);
// Prepara para empezar a dibujar en la textura de juego
void start();
@@ -132,9 +133,14 @@ public:
// Obtiene el tamaño máximo de zoom posible para la ventana
int getMaxZoom();
// Establece el renderizador para las surfaces
void setRenderSurface(std::shared_ptr<Surface> surface);
// Limpia
// Getters
SDL_Renderer *getRenderer() { return renderer_; }
std::shared_ptr<SurfaceData> getSurface() { return surface_->getSurface(); }
std::shared_ptr<SurfaceData> getRenderSurface() { return surface_->getSurfaceData(); }
SDL_Texture *getGameTexture() { return game_texture_; };
SDL_Texture *getBorderTexture() { return border_texture_; }
};