Now have a simple color palette system.
This commit is contained in:
parent
0272ba8540
commit
48a7f72411
6 changed files with 93 additions and 2 deletions
10
palette.hpp
Normal file
10
palette.hpp
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue