Now have a simple color palette system.

This commit is contained in:
Zed A. Shaw 2025-07-16 12:46:49 -04:00
parent 0272ba8540
commit 48a7f72411
6 changed files with 93 additions and 2 deletions

10
palette.hpp Normal file
View file

@ -0,0 +1,10 @@
#include <string>
#include <SFML/Graphics/Color.hpp>
namespace palette {
using std::string;
void init(const std::string &config="assets/palette.json");
sf::Color get(const string &key);
}