forked from jaildesigner-jailgames/jaildoctors_dilemma
Mil arreglos de paletes, gifs i colors transparents
El gif del jugador de game over estava mal
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <numeric>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include "utils.h"
|
||||
|
||||
// Alias
|
||||
using Palette = std::array<Uint32, 256>;
|
||||
@@ -137,7 +138,7 @@ public:
|
||||
|
||||
// Color transparente
|
||||
Uint8 getTransparentColor() const { return transparent_color_; }
|
||||
void setTransparentColor(Uint8 color) { transparent_color_ = color; }
|
||||
void setTransparentColor(Uint8 color = static_cast<Uint8>(PaletteColor::TRANSPARENT)) { transparent_color_ = color; }
|
||||
|
||||
// Paleta
|
||||
void setPalette(const std::array<Uint32, 256> &palette) { palette_ = palette; }
|
||||
|
||||
Reference in New Issue
Block a user