Fade: el color passa a estar en param.h
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <SDL3/SDL_render.h>
|
||||
#include <SDL3/SDL_stdinc.h>
|
||||
#include <vector>
|
||||
#include "utils.h"
|
||||
|
||||
// Tipos de fundido
|
||||
enum class FadeType : Uint8
|
||||
@@ -46,6 +47,7 @@ public:
|
||||
|
||||
// --- Configuración ---
|
||||
void setColor(Uint8 r, Uint8 g, Uint8 b);
|
||||
void setColor(Color color);
|
||||
void setType(FadeType type) { type_ = type; }
|
||||
void setMode(FadeMode mode) { mode_ = mode; }
|
||||
void setPostDuration(int value) { post_duration_ = value; }
|
||||
|
||||
Reference in New Issue
Block a user